summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma-file-chooser-dialog.c3
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)
{