Revision: 5655 http://geany.svn.sourceforge.net/geany/?rev=5655&view=rev Author: ntrel Date: 2011-03-30 12:47:26 +0000 (Wed, 30 Mar 2011)
Log Message: ----------- Fix Instant Save preferences combo box filetype order.
Modified Paths: -------------- trunk/ChangeLog trunk/plugins/saveactions.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2011-03-30 12:31:29 UTC (rev 5654) +++ trunk/ChangeLog 2011-03-30 12:47:26 UTC (rev 5655) @@ -7,6 +7,8 @@ * plugins/splitwindow.c: Update styles when the filetype changes (based on patch by Matthew Brush, thanks). + * plugins/saveactions.c: + Fix Instant Save preferences combo box filetype order.
2011-03-30 Colomban Wendling <colomban(at)geany(dot)org>
Modified: trunk/plugins/saveactions.c =================================================================== --- trunk/plugins/saveactions.c 2011-03-30 12:31:29 UTC (rev 5654) +++ trunk/plugins/saveactions.c 2011-03-30 12:47:26 UTC (rev 5655) @@ -598,7 +598,7 @@ { GtkWidget *combo; guint i; - GSList *node; + const GSList *node;
notebook_vbox = gtk_vbox_new(FALSE, 2); inner_vbox = gtk_vbox_new(FALSE, 5); @@ -621,7 +621,7 @@
pref_widgets.instantsave_ft_combo = combo = gtk_combo_box_new_text(); i = 0; - foreach_slist(node, geany->filetypes_by_title) + foreach_slist(node, filetypes_get_sorted_by_name()) { GeanyFiletype *ft = node->data;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.