From 6e90f40a2d0ba314c32b32fd17a16a675e75be18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 30 Aug 2009 12:09:54 +0000 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ src/prefs.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9b3bd1ee..c08a5b8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-08-30 Enrico Tröger + + * 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 * src/build.c, src/filetypes.c: diff --git a/src/prefs.c b/src/prefs.c index 4899ad80..4fe4f780 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -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);