[evolution-rss] make opml filter default when exporting



commit eaaae4aea87e5908c256d6adc80762c79b3a0db9
Author: Lucian Langa <lucilanga gnome org>
Date:   Mon Mar 7 11:19:52 2011 +0200

    make opml filter default when exporting

 src/rss-config-factory.c |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index fd6fdca..e1f7858 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -3047,20 +3047,26 @@ decorate_export_fs (gpointer data)
 	file_filter = gtk_file_filter_new ();
 	gtk_file_filter_add_pattern (
 		GTK_FILE_FILTER(file_filter),
-		"*.opml");
+		"*.xml");
 	gtk_file_filter_set_name (
 		GTK_FILE_FILTER(file_filter),
-		_("OPML Files"));
+		_("XML Files"));
 	gtk_file_chooser_add_filter (
 		GTK_FILE_CHOOSER (data),
 		GTK_FILE_FILTER(file_filter));
 
 	file_filter = gtk_file_filter_new ();
-	gtk_file_filter_add_pattern (GTK_FILE_FILTER(file_filter), "*.xml");
-	gtk_file_filter_set_name (GTK_FILE_FILTER(file_filter), _("XML Files"));
-	gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (data),
+	gtk_file_filter_add_pattern (
+		GTK_FILE_FILTER(file_filter),
+		"*.opml");
+	gtk_file_filter_set_name (
+		GTK_FILE_FILTER(file_filter),
+		_("OPML Files"));
+	gtk_file_chooser_add_filter (
+		GTK_FILE_CHOOSER (data),
 		GTK_FILE_FILTER(file_filter));
 
+
 	gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (data),
 		GTK_FILE_FILTER(file_filter));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]