Revision: 973 http://svn.sourceforge.net/geany/?rev=973&view=rev Author: eht16 Date: 2006-11-07 05:33:50 -0800 (Tue, 07 Nov 2006)
Log Message: ----------- Fixed unintentional appearance of sidebar after it was hidden and the preferences dialog was closed.
Modified Paths: -------------- trunk/ChangeLog trunk/src/treeviews.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-11-07 11:24:22 UTC (rev 972) +++ trunk/ChangeLog 2006-11-07 13:33:50 UTC (rev 973) @@ -1,3 +1,9 @@ +2006-11-07 Enrico Tröger enrico.troeger@uvena.de + + * src/treeviews.c: Fixed unintentional appearance of sidebar after it + was hidden and the preferences dialog was closed. + + 2006-11-07 Nick Treleaven nick.treleaven@btinternet.com
* src/win32.c, src/win32.h, src/callbacks.c, src/keyfile.c, @@ -8,8 +14,8 @@ Remove limit of ~256 chars for session filenames. Make dialogs_show_unsaved_file() fail if the Save As dialog was cancelled. -
+ 2006-11-06 Enrico Tröger enrico.troeger@uvena.de
* data/filetypes.java, src/highlighting.c:
Modified: trunk/src/treeviews.c =================================================================== --- trunk/src/treeviews.c 2006-11-07 11:24:22 UTC (rev 972) +++ trunk/src/treeviews.c 2006-11-07 13:33:50 UTC (rev 973) @@ -216,7 +216,7 @@ // use singular because one file can only belong to one Package / Module gchar *namespace_name = (doc_list[idx].file_type->id == GEANY_FILETYPES_D) ? _("Module") : _("Package"); - + gtk_tree_store_append(doc_list[idx].tag_store, &(tv.tag_function), NULL); gtk_tree_store_set(doc_list[idx].tag_store, &(tv.tag_function), 0, _("Methods"), -1); gtk_tree_store_append(doc_list[idx].tag_store, &(tv.tag_class), NULL); @@ -301,13 +301,13 @@ static GdkColor black = {0, 0, 0, 0}; static GdkColor red = {0, 65535, 0, 0}; GdkColor *colour; - + if (changed) colour = &red; else colour = &black; -
+ gtk_list_store_append(tv.store_openfiles, &iter); gtk_list_store_set(tv.store_openfiles, &iter, 0, string, 1, idx, 2, colour, -1);
@@ -327,12 +327,12 @@ static GdkColor black = {0, 0, 0, 0}; static GdkColor red = {0, 65535, 0, 0}; GdkColor *colour; - + if (changed) colour = &red; else colour = &black; - + gtk_list_store_set(tv.store_openfiles, &iter, 0, string, 2, colour, -1); }
@@ -494,6 +494,8 @@ case OPENFILES_ACTION_HIDE_ALL: { app->sidebar_visible = FALSE; + app->sidebar_openfiles_visible = FALSE; + app->sidebar_symbol_visible = FALSE; ui_treeviews_show_hide(TRUE); break; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.