[gtk+/gtk-2-24: 11/15] 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-2-24: 11/15] Set the location mode when changing the operation mode
- Date: Thu, 1 Sep 2011 16:27:59 +0000 (UTC)
commit 79d16aab2b0fb11f32b1c08ae0cf8e3bb2e6c98b
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 c1e8815..3e9d885 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -5215,6 +5215,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]