From 01e1f5874de57b945a4f1eb4cd0939b96c6a3a06 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 15 Nov 2013 20:32:28 -0800 Subject: [PATCH] psppire-data-window: Set default filter in File|Save As to show all files. The File|Save As dialog box showed "System Files" in two places: in the filter dropdown and in the format dropdown. It was surprising to users that changing the filter dropdown had no effect on the format of the file actually saved. This commit makes it more obvious which dropdown needs to be changed, by only showing "System Files" in the right place. Reported by Harry Thijssen. Bug #39648. --- src/ui/gui/psppire-data-window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/gui/psppire-data-window.c b/src/ui/gui/psppire-data-window.c index 2a56fa6666..ca4f21e221 100644 --- a/src/ui/gui/psppire-data-window.c +++ b/src/ui/gui/psppire-data-window.c @@ -501,6 +501,7 @@ data_pick_filename (PsppireWindow *window) gtk_file_filter_set_name (filter, _("All Files")); gtk_file_filter_add_pattern (filter, "*"); gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dialog), filter); + gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (dialog), filter); { GtkCellRenderer *cell; -- 2.30.2