From 4b130a90164a429d22ec9db9b265ac93a5786f50 Mon Sep 17 00:00:00 2001 From: bl0ckeduser Date: Tue, 29 Apr 2014 12:10:42 -0400 Subject: [PATCH] Fix for #46 (GTK3 missing filename file in save as) --- pluma/pluma-file-chooser-dialog.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pluma/pluma-file-chooser-dialog.c b/pluma/pluma-file-chooser-dialog.c index 819d2a3..aa40825 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) {