Show the sidebar if either the documents or the symbols list are enabled (related to #1876107).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4140 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2009-08-30 12:09:54 +00:00
parent f114ba9900
commit 6e90f40a2d
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/prefs.c:
Show the sidebar if either the documents or the symbols list are
enabled (related to #1876107).
2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/filetypes.c:

View File

@ -1104,6 +1104,8 @@ on_prefs_button_clicked(GtkDialog *dialog, gint response, gpointer user_data)
toolbar_apply_settings();
toolbar_update_ui();
toolbar_show_hide();
if (interface_prefs.sidebar_openfiles_visible || interface_prefs.sidebar_symbol_visible)
ui_prefs.sidebar_visible = TRUE;
ui_sidebar_show_hide();
gtk_notebook_set_show_tabs(GTK_NOTEBOOK(main_widgets.notebook), interface_prefs.show_notebook_tabs);