forked from AuroraMiddleware/gtk
Set the location mode when changing the operation mode
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
parent
80d0efd94a
commit
9112cb4dfa
@ -5243,6 +5243,7 @@ operation_mode_set_browse (GtkFileChooserDefault *impl)
|
|||||||
impl->action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER)
|
impl->action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER)
|
||||||
{
|
{
|
||||||
gtk_widget_show (impl->location_button);
|
gtk_widget_show (impl->location_button);
|
||||||
|
location_mode_set (impl, impl->location_mode, TRUE);
|
||||||
|
|
||||||
if (impl->location_mode == LOCATION_MODE_FILENAME_ENTRY)
|
if (impl->location_mode == LOCATION_MODE_FILENAME_ENTRY)
|
||||||
gtk_widget_show (impl->location_entry_box);
|
gtk_widget_show (impl->location_entry_box);
|
||||||
|
Loading…
Reference in New Issue
Block a user