summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkfilechooserbutton.c')
-rw-r--r--gtk/gtkfilechooserbutton.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index d509b86990..848c78732d 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -2266,7 +2266,8 @@ update_label_and_image (GtkFileChooserButton *button)
}
}
- if (g_file_is_native (file))
+ if (g_file_is_native (file) ||
+ !_gtk_bookmarks_manager_has_bookmark (button->bookmarks_manager, file))
{
button->update_button_cancellable =
_gtk_file_system_get_info (button->fs, file,