[gtk/wip/issue595-allow-bookmark-symlinks-3] PlacesSidebar: Allow bookmarking symbolic links
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/issue595-allow-bookmark-symlinks-3] PlacesSidebar: Allow bookmarking symbolic links
- Date: Thu, 20 Jun 2019 17:23:14 +0000 (UTC)
commit 5b4598ddb27967c4ccef8a3cd11470fef1f6dae7
Author: Razvan Chitu <razvan ch95 gmail com>
Date: Sun Feb 21 00:40:50 2016 +0200
PlacesSidebar: Allow bookmarking symbolic links
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
gtk/gtkplacessidebar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]