gtkfilechooser: improve location edit button
This commit is contained in:
parent
d4f2313aee
commit
589dd9a7bb
1 changed files with 3 additions and 0 deletions
|
|
@ -8901,6 +8901,9 @@ location_set_current_folder_text (GtkFileChooserDefault *impl,
|
|||
|
||||
path = g_file_get_parse_name (impl->current_folder);
|
||||
|
||||
if (!path)
|
||||
return;
|
||||
|
||||
if (!g_str_has_suffix (path, G_DIR_SEPARATOR_S))
|
||||
{
|
||||
gchar *folder_path;
|
||||
|
|
|
|||
Loading…
Reference in a new issue