diff options
author | bl0ckeduser <[email protected]> | 2014-04-29 12:10:42 -0400 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-04-29 19:41:57 +0200 |
commit | 4b130a90164a429d22ec9db9b265ac93a5786f50 (patch) | |
tree | 2b44c585bdb759a6b9525f2b9fd798a1ccf7f003 | |
parent | 9e01bddf6bd77e6f2a174f48dfba25a25a8ecf02 (diff) | |
download | pluma-4b130a90164a429d22ec9db9b265ac93a5786f50.tar.bz2 pluma-4b130a90164a429d22ec9db9b265ac93a5786f50.tar.xz |
Fix for #46 (GTK3 missing filename file in save as)
-rw-r--r-- | pluma/pluma-file-chooser-dialog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pluma/pluma-file-chooser-dialog.c b/pluma/pluma-file-chooser-dialog.c index 819d2a3b..aa40825f 100644 --- a/pluma/pluma-file-chooser-dialog.c +++ b/pluma/pluma-file-chooser-dialog.c @@ -407,6 +407,9 @@ pluma_file_chooser_dialog_new_valist (const gchar *title, gtk_file_filter_set_name (filter, ALL_FILES); gtk_file_filter_add_pattern (filter, "*"); gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (result), filter); +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_file_chooser_set_action (GTK_FILE_CHOOSER (result), action); +#endif if (active_filter != 1) { |