mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
/SAVEWINDOWS - saves the current layout of windows. It's automatically
reloaded at startup. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@572 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
869279f285
commit
9b86b024b0
7 changed files with 141 additions and 1 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include "translation.h"
|
||||
#include "windows.h"
|
||||
#include "window-items.h"
|
||||
#include "window-save.h"
|
||||
|
||||
#include <sys/signal.h>
|
||||
|
||||
|
|
@ -132,6 +133,10 @@ void fe_common_core_finish_init(void)
|
|||
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
windows_restore();
|
||||
if (windows != NULL)
|
||||
return;
|
||||
|
||||
if (settings_get_bool("use_status_window")) {
|
||||
window = window_create(NULL, TRUE);
|
||||
window_set_name(window, "(status)");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue