[gtk+: 13/14] Set the location mode when changing the operation mode



commit 9112cb4dfab7a2b5f2f14acfa88f867f2b1ba453
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Jul 27 18:41:23 2011 -0500

    Set the location mode when changing the operation mode
    
    Signed-off-by: Federico Mena Quintero <federico gnome org>

 gtk/gtkfilechooserdefault.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index f68143a..d24c3c1 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -5243,6 +5243,7 @@ operation_mode_set_browse (GtkFileChooserDefault *impl)
       impl->action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER)
     {
       gtk_widget_show (impl->location_button);
+      location_mode_set (impl, impl->location_mode, TRUE);
 
       if (impl->location_mode == LOCATION_MODE_FILENAME_ENTRY)
 	gtk_widget_show (impl->location_entry_box);



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