[gvfs] recent: honor the private hint
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] recent: honor the private hint
- Date: Tue, 28 Aug 2012 14:06:37 +0000 (UTC)
commit a1ffbba7e4574aa43c356d80c4e139e8f3a36c4f
Author: William Jon McCann <jmccann redhat com>
Date: Mon Aug 27 19:17:35 2012 -0400
recent: honor the private hint
Don't display items that have been marked as private.
https://bugzilla.gnome.org/show_bug.cgi?id=682835
daemon/gvfsbackendrecent.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gvfsbackendrecent.c b/daemon/gvfsbackendrecent.c
index 2ff8df3..dc515f6 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]