[gtk+/gtk-2-16] bgo#534462: Disable interactive search in the file chooser's shortcuts pane



commit 513858248ce2c2a7636c04fb8cbcabf9973ace14
Author: Federico Mena Quintero <federico novell com>
Date:   Mon Jul 27 17:21:28 2009 -0500

    bgo#534462: Disable interactive search in the file chooser's shortcuts pane
    
    People often do this:
    1. Bring up a SAVE dialog
    2. Click on a folder in the shortcuts pane
    3. Start typing a filename
    4. Oops!  The interactive-search entry in the shortcuts pane appears.
    
    With this, the shortcuts pane will not bring up the interactive-search entry.  Then it
    will be clear that you are not typing in the right place.
    
    Signed-off-by: Federico Mena Quintero <federico novell com>

 gtk/gtkfilechooserdefault.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index b670411..bdb811b 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -3882,6 +3882,7 @@ shortcuts_list_create (GtkFileChooserDefault *impl)
   /* Tree */
 
   impl->browse_shortcuts_tree_view = gtk_tree_view_new ();
+  gtk_tree_view_set_enable_search (GTK_TREE_VIEW (impl->browse_shortcuts_tree_view), FALSE);
 #ifdef PROFILE_FILE_CHOOSER
   g_object_set_data (G_OBJECT (impl->browse_shortcuts_tree_view), "fmq-name", "shortcuts");
 #endif



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