summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendrecent.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2012-08-27 19:17:35 -0400
committerWilliam Jon McCann <jmccann@redhat.com>2012-08-28 10:03:42 -0400
commita1ffbba7e4574aa43c356d80c4e139e8f3a36c4f (patch)
tree32682e4eccb58e8ae969b2be945b1a871f630c76 /daemon/gvfsbackendrecent.c
parentb6f7d8a73ab50522ab86ecf5ef0e2cfb4c21d88f (diff)
downloadgvfs-a1ffbba7e4574aa43c356d80c4e139e8f3a36c4f.tar.gz
recent: honor the private hint
Don't display items that have been marked as private. https://bugzilla.gnome.org/show_bug.cgi?id=682835
Diffstat (limited to 'daemon/gvfsbackendrecent.c')
-rw-r--r--daemon/gvfsbackendrecent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gvfsbackendrecent.c b/daemon/gvfsbackendrecent.c
index 2ff8df38..dc515f6f 100644
--- a/daemon/gvfsbackendrecent.c
+++ b/daemon/gvfsbackendrecent.c
@@ -402,6 +402,7 @@ reload_recent_items (GVfsBackendRecent *backend)
const char *guid;
if (!gtk_recent_info_is_local (recent_info)
+ || gtk_recent_info_get_private_hint (recent_info)
|| g_strcmp0 (gtk_recent_info_get_mime_type (recent_info), "inode/directory") == 0)
continue;