mirror of
https://github.com/irssi/irssi.git
synced 2026-08-22 18:12:12 +02:00
parent
dfaa28235b
commit
0edb8b832b
2 changed files with 5 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
SAVE: Saves your layout to the configuration.
|
SAVE: Saves your layout to the configuration.
|
||||||
RESET: Removes the saved layout from the configuration.
|
RESET: Removes the saved layout from the configuration.
|
||||||
|
RESTORE: Restores the saved layout from the configuration.
|
||||||
|
|
||||||
%9Description:%9
|
%9Description:%9
|
||||||
|
|
||||||
|
|
@ -23,6 +24,7 @@
|
||||||
|
|
||||||
/LAYOUT SAVE
|
/LAYOUT SAVE
|
||||||
/LAYOUT RESET
|
/LAYOUT RESET
|
||||||
|
/LAYOUT RESTORE
|
||||||
|
|
||||||
%9See also:%9 SAVE, WINDOW
|
%9See also:%9 SAVE, WINDOW
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -902,6 +902,8 @@ void window_commands_init(void)
|
||||||
command_bind("layout save", NULL, (SIGNAL_FUNC) windows_layout_save);
|
command_bind("layout save", NULL, (SIGNAL_FUNC) windows_layout_save);
|
||||||
/* SYNTAX: LAYOUT RESET */
|
/* SYNTAX: LAYOUT RESET */
|
||||||
command_bind("layout reset", NULL, (SIGNAL_FUNC) windows_layout_reset);
|
command_bind("layout reset", NULL, (SIGNAL_FUNC) windows_layout_reset);
|
||||||
|
/* SYNTAX: LAYOUT RESTORE */
|
||||||
|
command_bind("layout restore", NULL, (SIGNAL_FUNC) windows_layout_restore);
|
||||||
command_bind("foreach window", NULL, (SIGNAL_FUNC) cmd_foreach_window);
|
command_bind("foreach window", NULL, (SIGNAL_FUNC) cmd_foreach_window);
|
||||||
|
|
||||||
command_set_options("window number", "sticky");
|
command_set_options("window number", "sticky");
|
||||||
|
|
@ -942,5 +944,6 @@ void window_commands_deinit(void)
|
||||||
command_unbind("layout", (SIGNAL_FUNC) cmd_layout);
|
command_unbind("layout", (SIGNAL_FUNC) cmd_layout);
|
||||||
command_unbind("layout save", (SIGNAL_FUNC) windows_layout_save);
|
command_unbind("layout save", (SIGNAL_FUNC) windows_layout_save);
|
||||||
command_unbind("layout reset", (SIGNAL_FUNC) windows_layout_reset);
|
command_unbind("layout reset", (SIGNAL_FUNC) windows_layout_reset);
|
||||||
|
command_unbind("layout restore", (SIGNAL_FUNC) windows_layout_restore);
|
||||||
command_unbind("foreach window", (SIGNAL_FUNC) cmd_foreach_window);
|
command_unbind("foreach window", (SIGNAL_FUNC) cmd_foreach_window);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue