Revision: 977 http://svn.sourceforge.net/geany/?rev=977&view=rev Author: ntrel Date: 2006-11-08 03:57:20 -0800 (Wed, 08 Nov 2006)
Log Message: ----------- Never show the sidebar if app->show_sidebar is false (prevents showing Sidebar after setting Preferences, when user has chosen to hide the Sidebar).
Modified Paths: -------------- trunk/ChangeLog trunk/src/ui_utils.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-11-08 11:42:05 UTC (rev 976) +++ trunk/ChangeLog 2006-11-08 11:57:20 UTC (rev 977) @@ -10,6 +10,10 @@ Add symbols_find_tags_as_string(), symbols_get_tag_list(), symbols_get_macro_list(), symbols_find_in_workspace() from various tag-related existing code. + * src/ui_utils.c: + Never show the Sidebar if app->show_sidebar is false (prevents + showing Sidebar after setting Preferences, when user has chosen to + hide the Sidebar).
2006-11-07 Enrico Tröger enrico.troeger@uvena.de
Modified: trunk/src/ui_utils.c =================================================================== --- trunk/src/ui_utils.c 2006-11-08 11:42:05 UTC (rev 976) +++ trunk/src/ui_utils.c 2006-11-08 11:57:20 UTC (rev 977) @@ -627,7 +627,7 @@ }
-void ui_treeviews_show_hide(gboolean force) +void ui_treeviews_show_hide(G_GNUC_UNUSED gboolean force) { GtkWidget *widget;
@@ -635,13 +635,8 @@ ui_btoa(app->sidebar_symbol_visible), ui_btoa(app->sidebar_openfiles_visible)); */
- if (! force && ! app->sidebar_visible && (app->sidebar_openfiles_visible || - app->sidebar_symbol_visible)) + if (! app->sidebar_openfiles_visible && ! app->sidebar_symbol_visible) { - app->sidebar_visible = TRUE; - } - else if (! app->sidebar_openfiles_visible && ! app->sidebar_symbol_visible) - { app->sidebar_visible = FALSE; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.