Revision: 2592 http://geany.svn.sourceforge.net/geany/?rev=2592&view=rev Author: ntrel Date: 2008-05-16 05:16:03 -0700 (Fri, 16 May 2008)
Log Message: ----------- Make right clicking on items not lose the current selection, like the standard GtkFileChooser. Add separator before the Clear filter toolbar button.
Modified Paths: -------------- trunk/ChangeLog trunk/plugins/filebrowser.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-05-16 12:08:39 UTC (rev 2591) +++ trunk/ChangeLog 2008-05-16 12:16:03 UTC (rev 2592) @@ -21,6 +21,10 @@ Add Geany prefix for EditorPrefs. Add Geany prefix for SearchPrefs. Initialize search_prefs to zero in main.c. + * plugins/filebrowser.c: + Make right clicking on items not lose the current selection, like + the standard GtkFileChooser. + Add separator before the Clear filter toolbar button.
2008-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/plugins/filebrowser.c =================================================================== --- trunk/plugins/filebrowser.c 2008-05-16 12:08:39 UTC (rev 2591) +++ trunk/plugins/filebrowser.c 2008-05-16 12:16:03 UTC (rev 2592) @@ -593,6 +593,8 @@ { if (event->button == 1 && event->type == GDK_2BUTTON_PRESS) on_open_clicked(NULL, NULL); + else if (event->button == 3) + return TRUE; return FALSE; }
@@ -765,6 +767,9 @@ g_signal_connect(G_OBJECT(wid), "clicked", G_CALLBACK(on_current_path), NULL); gtk_container_add(GTK_CONTAINER(toolbar), wid);
+ wid = (GtkWidget *) gtk_separator_tool_item_new(); + gtk_container_add(GTK_CONTAINER(toolbar), wid); + wid = (GtkWidget *) gtk_tool_button_new_from_stock(GTK_STOCK_CLEAR); gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(wid), tooltips, _("Clear the filter"), NULL); g_signal_connect(G_OBJECT(wid), "clicked", G_CALLBACK(on_clear_filter), NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.