summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRazvan Chitu <razvan.ch95@gmail.com>2016-02-21 00:40:50 +0200
committerDaniel Boles <dboles.src@gmail.com>2019-06-20 18:21:45 +0100
commit5b4598ddb27967c4ccef8a3cd11470fef1f6dae7 (patch)
treea89f43e19318c96c1c24460598a083e0db301950
parent17ec9ee4aff1b851adc77e45cf16e92183dd6a5a (diff)
downloadgtk+-wip/issue595-allow-bookmark-symlinks-3.tar.gz
PlacesSidebar: Allow bookmarking symbolic linkswip/issue595-allow-bookmark-symlinks-3
Due to not following links on file information querying, links to directories are not considered valid bookmark targets. In order to change this, allow symlink following to test if the target is a directory. https://bugzilla.gnome.org/show_bug.cgi?id=761013 close https://gitlab.gnome.org/GNOME/gtk/issues/595
-rw-r--r--gtk/gtkplacessidebar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 87c08a5389..50b8ad5de8 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -1985,7 +1985,7 @@ drop_files_as_bookmarks (GtkPlacesSidebar *sidebar,
GFile *f = G_FILE (l->data);
GFileInfo *info = g_file_query_info (f,
G_FILE_ATTRIBUTE_STANDARD_TYPE,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
NULL,
NULL);