forked from AuroraMiddleware/gtk
Hide the Create Folder button in recent-files mode when the pathbar is on
The create-folder machinery doesn't handle that case yet; we may enable it later once we figure out the implications for the GUI. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
parent
6bb34d7dd4
commit
894be790bf
@ -4898,7 +4898,9 @@ path_bar_set_mode (GtkFileChooserDefault *impl, PathBarMode mode)
|
||||
|
||||
if (path_bar_visible)
|
||||
{
|
||||
if (impl->create_folders && impl->action != GTK_FILE_CHOOSER_ACTION_OPEN)
|
||||
if (impl->create_folders
|
||||
&& impl->action != GTK_FILE_CHOOSER_ACTION_OPEN
|
||||
&& impl->operation_mode != OPERATION_MODE_RECENT)
|
||||
create_folder_visible = TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user