Set the location mode when changing the operation mode

Signed-off-by: default avatarFederico Mena Quintero <federico@gnome.org>
parent 80d0efd9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment