1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 10:13:12 +02:00

core: revert the rename of option weechat.look.save_layout_on_exit

This commit is contained in:
Sebastien Helleu
2014-01-22 18:50:24 +01:00
parent b49f825d0a
commit 48797574ff
23 changed files with 106 additions and 112 deletions
+5 -5
View File
@@ -767,7 +767,7 @@ gui_layout_store_on_exit ()
{
struct t_gui_layout *ptr_layout;
if (CONFIG_BOOLEAN(config_look_store_layout_on_exit) == CONFIG_LOOK_STORE_LAYOUT_ON_EXIT_NONE)
if (CONFIG_BOOLEAN(config_look_save_layout_on_exit) == CONFIG_LOOK_SAVE_LAYOUT_ON_EXIT_NONE)
return;
ptr_layout = gui_layout_current;
@@ -785,15 +785,15 @@ gui_layout_store_on_exit ()
}
/* store current layout */
switch (CONFIG_BOOLEAN(config_look_store_layout_on_exit))
switch (CONFIG_BOOLEAN(config_look_save_layout_on_exit))
{
case CONFIG_LOOK_STORE_LAYOUT_ON_EXIT_BUFFERS:
case CONFIG_LOOK_SAVE_LAYOUT_ON_EXIT_BUFFERS:
gui_layout_buffer_store (ptr_layout);
break;
case CONFIG_LOOK_STORE_LAYOUT_ON_EXIT_WINDOWS:
case CONFIG_LOOK_SAVE_LAYOUT_ON_EXIT_WINDOWS:
gui_layout_window_store (ptr_layout);
break;
case CONFIG_LOOK_STORE_LAYOUT_ON_EXIT_ALL:
case CONFIG_LOOK_SAVE_LAYOUT_ON_EXIT_ALL:
gui_layout_buffer_store (ptr_layout);
gui_layout_window_store (ptr_layout);
break;