summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserentry.c
diff options
context:
space:
mode:
authorTimothy Arceri <t_arceri@yahoo.com.au>2012-11-18 19:39:11 +1100
committerFederico Mena Quintero <federico@gnome.org>2013-03-05 17:17:42 -0600
commitcf216d780cb2c889a3bcb5faa825fc1b21af8896 (patch)
treedb43a9d8a94dc8488c0f7b91d6c486cb24cb0c60 /gtk/gtkfilechooserentry.c
parent9a1c54d580f09cce207cdc7d7d98062ce7c4f189 (diff)
downloadgtk+-cf216d780cb2c889a3bcb5faa825fc1b21af8896.tar.gz
filechooser: Show FUSE mounted locations in shortcuts
Since FUSE locations can be handled safely by applications show these mounted locations regardless of whether gtk_file_chooser_set_local_only() is set to TRUE https://bugzilla.gnome.org/show_bug.cgi?id=586367
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r--gtk/gtkfilechooserentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index 98ecd24c71..603516a2cf 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -558,7 +558,7 @@ set_completion_folder (GtkFileChooserEntry *chooser_entry,
{
if (folder_file &&
chooser_entry->local_only
- && !g_file_is_native (folder_file))
+ && _gtk_file_is_path_not_local (folder_file))
folder_file = NULL;
if ((chooser_entry->current_folder_file