Permalink
Browse files

Set the location mode when changing the operation mode

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
  • Loading branch information...
1 parent 80d0efd commit 9112cb4dfab7a2b5f2f14acfa88f867f2b1ba453 @federicomenaquintero federicomenaquintero committed Jul 27, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 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);

0 comments on commit 9112cb4

Please sign in to comment.