diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-22 18:50:24 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-22 18:50:24 +0100 |
commit | 48797574ff959cbef6e721d056d76e2a99644ebc (patch) | |
tree | 5a8f139831e3e432c18c288bb46ba7fb5bbdea53 /src/gui | |
parent | b49f825d0a2c117be5471a372c7c5dd908b0c346 (diff) | |
download | weechat-48797574ff959cbef6e721d056d76e2a99644ebc.zip |
core: revert the rename of option weechat.look.save_layout_on_exit
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui-layout.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/gui-layout.c b/src/gui/gui-layout.c index d8932a63b..4ca76d213 100644 --- a/src/gui/gui-layout.c +++ b/src/gui/gui-layout.c @@ -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; |