Kaydet (Commit) a1f96c36 authored tarafından Nick Treleaven's avatar Nick Treleaven

Fix Instant Save preferences combo box filetype order.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5655 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 93d65a1d
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
* plugins/splitwindow.c: * plugins/splitwindow.c:
Update styles when the filetype changes (based on patch by Update styles when the filetype changes (based on patch by
Matthew Brush, thanks). Matthew Brush, thanks).
* plugins/saveactions.c:
Fix Instant Save preferences combo box filetype order.
2011-03-30 Colomban Wendling <colomban(at)geany(dot)org> 2011-03-30 Colomban Wendling <colomban(at)geany(dot)org>
......
...@@ -598,7 +598,7 @@ GtkWidget *plugin_configure(GtkDialog *dialog) ...@@ -598,7 +598,7 @@ GtkWidget *plugin_configure(GtkDialog *dialog)
{ {
GtkWidget *combo; GtkWidget *combo;
guint i; guint i;
GSList *node; const GSList *node;
notebook_vbox = gtk_vbox_new(FALSE, 2); notebook_vbox = gtk_vbox_new(FALSE, 2);
inner_vbox = gtk_vbox_new(FALSE, 5); inner_vbox = gtk_vbox_new(FALSE, 5);
...@@ -621,7 +621,7 @@ GtkWidget *plugin_configure(GtkDialog *dialog) ...@@ -621,7 +621,7 @@ GtkWidget *plugin_configure(GtkDialog *dialog)
pref_widgets.instantsave_ft_combo = combo = gtk_combo_box_new_text(); pref_widgets.instantsave_ft_combo = combo = gtk_combo_box_new_text();
i = 0; i = 0;
foreach_slist(node, geany->filetypes_by_title) foreach_slist(node, filetypes_get_sorted_by_name())
{ {
GeanyFiletype *ft = node->data; GeanyFiletype *ft = node->data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment