[gtk+/gtk-2-18] Fix: GtkFileChooserButton unsets filter after first use of dialog



commit cac87b0a165fe1e92e38cc8f134a6e4657c7a837
Author: Bert Broekhuizen <bert broekhuizen yahoo com>
Date:   Thu Feb 25 13:59:46 2010 +0100

    Fix: GtkFileChooserButton unsets filter after first use of dialog
    
    Added standard::display-name attribute to _gtk_file_system_get_folder
    call in show_and_select_file to make the get_is_file_filtered call
    in show_and_select_files_finished_loading work as intended.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=553211
    
    Signed-off-by: Javier Jardón <jjardon gnome org>

 gtk/gtkfilechooserdefault.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index a904d1c..4464625 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -6793,7 +6793,7 @@ show_and_select_files (GtkFileChooserDefault *impl,
 
   impl->show_and_select_files_cancellable =
     _gtk_file_system_get_folder (impl->file_system, parent_file,
- 				 "standard::is-hidden,standard::is-backup,standard::type,standard::name,standard::content-type",
+				 "standard::is-hidden,standard::is-backup,standard::type,standard::name,standard::display-name,standard::content-type",
 			         show_and_select_files_get_folder_cb, info);
 
   profile_end ("end", NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]