summaryrefslogtreecommitdiff
path: root/src/ui.vala
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2012-06-03 00:47:50 +0200
committerAlessio Treglia <alessio@debian.org>2012-06-03 00:47:50 +0200
commitf61940ebd00dbbcfccf408fd93fb1ab2ec5c78d5 (patch)
tree250c7a67bc8aa6d6993dcbff6fa0c66c07e8889e /src/ui.vala
parent81e2fef032931d0748d94c7d2625fe07499f77c3 (diff)
Imported Upstream version 3.4.2upstream/3.4.2
Diffstat (limited to 'src/ui.vala')
-rw-r--r--src/ui.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui.vala b/src/ui.vala
index 3056061..db19d77 100644
--- a/src/ui.vala
+++ b/src/ui.vala
@@ -351,14 +351,14 @@ public class SimpleScan
/* Filter to only show images by default */
var filter = new Gtk.FileFilter ();
- filter.set_name (/* Save dialog: Filter name to show only image files */
- _("Image Files"));
+ filter.set_filter_name (/* Save dialog: Filter name to show only image files */
+ _("Image Files"));
filter.add_pixbuf_formats ();
filter.add_mime_type ("application/pdf");
save_dialog.add_filter (filter);
filter = new Gtk.FileFilter ();
- filter.set_name (/* Save dialog: Filter name to show all files */
- _("All Files"));
+ filter.set_filter_name (/* Save dialog: Filter name to show all files */
+ _("All Files"));
filter.add_pattern ("*");
save_dialog.add_filter (filter);