[gvfs/gnome-2-26] Make gvfs-mount print should_automount for GVolume objects
- From: David Zeuthen <davidz src gnome org>
- To: svn-commits-list gnome org
- Subject: [gvfs/gnome-2-26] Make gvfs-mount print should_automount for GVolume objects
- Date: Fri, 12 Jun 2009 12:28:11 -0400 (EDT)
commit 04b3e80166af5c1a26d873652e686af9fd2b80a2
Author: David Zeuthen <davidz redhat com>
Date: Fri Jun 12 12:21:13 2009 -0400
Make gvfs-mount print should_automount for GVolume objects
programs/gvfs-mount.c | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/programs/gvfs-mount.c b/programs/gvfs-mount.c
index 70936c9..b72b31d 100644
--- a/programs/gvfs-mount.c
+++ b/programs/gvfs-mount.c
@@ -490,17 +490,18 @@ list_volumes (GList *volumes,
g_free (uri);
g_object_unref (activation_root);
}
- icon = g_volume_get_icon (volume);
- if (icon)
- {
- if (G_IS_THEMED_ICON (icon))
- show_themed_icon_names (G_THEMED_ICON (icon), indent + 2);
+ icon = g_volume_get_icon (volume);
+ if (icon)
+ {
+ if (G_IS_THEMED_ICON (icon))
+ show_themed_icon_names (G_THEMED_ICON (icon), indent + 2);
- g_object_unref (icon);
- }
+ g_object_unref (icon);
+ }
g_print ("%*scan_mount=%d\n", indent + 2, "", g_volume_can_mount (volume));
g_print ("%*scan_eject=%d\n", indent + 2, "", g_volume_can_eject (volume));
+ g_print ("%*sshould_automount=%d\n", indent + 2, "", g_volume_should_automount (volume));
g_free (uuid);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]