diff options
author | David Zeuthen <davidz@redhat.com> | 2009-06-12 12:21:13 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-06-12 12:21:13 -0400 |
commit | e93df0133f5c6068a0d319cdbc2d9068fa21b02f (patch) | |
tree | 7e4e4c27371a9471adc29f0f7841ff9ff013c92a /programs | |
parent | b18516a92cb5306b6f73de83e74a9af7ddd781c0 (diff) | |
download | gvfs-e93df0133f5c6068a0d319cdbc2d9068fa21b02f.tar.gz |
Make gvfs-mount print should_automount for GVolume objects
Diffstat (limited to 'programs')
-rw-r--r-- | 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 70936c98..b72b31d2 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); } |