mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
No need to highlight the file's basename when setting the base folder
None of the cases where _gtk_file_chooser_entry_set_base_folder() appear to require the entry highlighting the file's basename. Doing the highlighting actually makes things look weird in Save/Recent mode if you 1. type a filename 2. click on a recent-folder, as right after (2) your filename would get its basename highlighted for no apparent reason. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
parent
894be790bf
commit
9eb324dbaf
@ -1830,7 +1830,6 @@ _gtk_file_chooser_entry_set_base_folder (GtkFileChooserEntry *chooser_entry,
|
||||
g_object_ref (chooser_entry->base_folder);
|
||||
|
||||
clear_completions (chooser_entry);
|
||||
_gtk_file_chooser_entry_select_filename (chooser_entry);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user