[gtk+/gtk-3-0: 13/14] Set the location mode when changing the	operation mode
- From: Federico Mena Quintero <federico src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk+/gtk-3-0: 13/14] Set the location mode when changing the	operation mode
 
- Date: Wed, 27 Jul 2011 23:54:28 +0000 (UTC)
 
commit ef19f731ea967a289c69600e9f64c0d0efc56445
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 eb09c69..a2b7d41 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -5233,6 +5233,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]