Fix for #46 (GTK3 missing filename file in save as)

This commit is contained in:
bl0ckeduser 2014-04-29 12:10:42 -04:00 committed by Stefano Karapetsas
parent 9e01bddf6b
commit 4b130a9016
1 changed files with 3 additions and 0 deletions

View File

@ -407,6 +407,9 @@ pluma_file_chooser_dialog_new_valist (const gchar *title,
gtk_file_filter_set_name (filter, ALL_FILES); gtk_file_filter_set_name (filter, ALL_FILES);
gtk_file_filter_add_pattern (filter, "*"); gtk_file_filter_add_pattern (filter, "*");
gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (result), 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) if (active_filter != 1)
{ {