Revision: 1241 http://svn.sourceforge.net/geany/?rev=1241&view=rev Author: eht16 Date: 2007-02-01 07:43:13 -0800 (Thu, 01 Feb 2007)
Log Message: ----------- Applied patch from Tom?\195?\161s V?\195?\173rseda to sort the list of open files in the sidebar alphabetically (thanks).
Modified Paths: -------------- trunk/ChangeLog trunk/THANKS trunk/src/treeviews.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-02-01 15:00:59 UTC (rev 1240) +++ trunk/ChangeLog 2007-02-01 15:43:13 UTC (rev 1241) @@ -4,6 +4,9 @@ filename extension(closes #1642029). * src/document.c: Made --line and --column also working for already open files (thanks to Mark Knoop for his help). + * THANKS, src/treeviews.c: + Applied patch from Tomás Vírseda to sort the list of open files in + the sidebar alphabetically (thanks).
2007-01-31 Enrico Tröger enrico.troeger@uvena.de
Modified: trunk/THANKS =================================================================== --- trunk/THANKS 2007-02-01 15:00:59 UTC (rev 1240) +++ trunk/THANKS 2007-02-01 15:43:13 UTC (rev 1241) @@ -22,6 +22,7 @@ Rob van der Linde <robvdl(at)paradise(dot)net(dot)nz> - fixed wrong vte height on some systems Josef Whiter <josef(at)toxicpanda(dot)com> - parse 'Entering directory' build messages. Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com> - "Allow DnD", "Use tabs" and other great patches +Tomás Vírseda <kaskaras(at)gmail(dot)com> - sort open files patch
Translators: ----------------------------------
Modified: trunk/src/treeviews.c =================================================================== --- trunk/src/treeviews.c 2007-02-01 15:00:59 UTC (rev 1240) +++ trunk/src/treeviews.c 2007-02-01 15:43:13 UTC (rev 1241) @@ -98,6 +98,7 @@ GtkTreeViewColumn *column; GtkTreeSelection *select; PangoFontDescription *pfd; + GtkTreeSortable *sortable;
tv.tree_openfiles = lookup_widget(app->window, "treeview6");
@@ -119,6 +120,10 @@
gtk_tree_view_set_enable_search(GTK_TREE_VIEW(tv.tree_openfiles), FALSE);
+ // sort opened filenames in the store_openfiles treeview + sortable = GTK_TREE_SORTABLE(GTK_TREE_MODEL(tv.store_openfiles)); + gtk_tree_sortable_set_sort_column_id(sortable, 0, GTK_SORT_ASCENDING); + pfd = pango_font_description_from_string(app->tagbar_font); gtk_widget_modify_font(tv.tree_openfiles, pfd); pango_font_description_free(pfd);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.