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
commit2fc0bb47c780bf8dc80944b4fc3efac26d20a134 (patch)
tree3cb02a9f74115673b5b64578cab09a6e33270d4b /src/ui.vala
parenta9bb26f88284042eb37fddb631a7a1d57960653e (diff)
parentf61940ebd00dbbcfccf408fd93fb1ab2ec5c78d5 (diff)
Merge tag 'upstream/3.4.2'
Upstream version 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);