[gvfs/wip/udisks2] Add a TODO item with a reference to bug 668132
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/wip/udisks2] Add a TODO item with a reference to bug 668132
- Date: Tue, 17 Jan 2012 19:56:44 +0000 (UTC)
commit 1ec0d29ff43d7d35ed40f2887dcc1743084ba681
Author: David Zeuthen <davidz redhat com>
Date: Tue Jan 17 14:56:01 2012 -0500
Add a TODO item with a reference to bug 668132
See https://bugzilla.gnome.org/show_bug.cgi?id=668132
Signed-off-by: David Zeuthen <davidz redhat com>
monitor/udisks2/gvfsudisks2volumemonitor.c | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/monitor/udisks2/gvfsudisks2volumemonitor.c b/monitor/udisks2/gvfsudisks2volumemonitor.c
index 2884dcc..e830fa1 100644
--- a/monitor/udisks2/gvfsudisks2volumemonitor.c
+++ b/monitor/udisks2/gvfsudisks2volumemonitor.c
@@ -596,6 +596,27 @@ simple_g_unix_mount_guess_should_display (GUnixMountEntry *mount_entry)
const gchar *home_dir = NULL;
const gchar *mount_path;
+ /* TODO: Check comment=gvfs-show=<val> override
+ *
+ * It would be nice if the user could override whether a specific mount is displayed
+ * or not, so e.g.
+ *
+ * # mount /dev/sdc1 /mnt -ocomment=gvfs-show=1
+ *
+ * forces the mount to be visible (would usually be invisible) and
+ *
+ * # mount /dev/sdc1 /home/user/Somewhere -ocomment=gvfs-show=0
+ *
+ * forces the mount to be invisible (would usually be visible). This
+ * however requires a libmount-based mount(8) command since right
+ * now that information is thrown away. See
+ *
+ * https://bugzilla.gnome.org/show_bug.cgi?id=668132
+ *
+ * for this.
+ */
+
+
/* Never display internal mountpoints */
if (g_unix_mount_is_system_internal (mount_entry))
goto out;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]