gio-tool: Add g_drive_is_removable() support

The g_drive_is_removable() support was added recently in gio/gvfs
(see Bug 765900 and Bug 765457). It was also added in gvfs-mount,
but we forgot to add it also in gio-tool-mount.

https://bugzilla.gnome.org/show_bug.cgi?id=776169
This commit is contained in:
Ondrej Holy 2016-12-19 10:27:04 +01:00
parent 094613425e
commit 292f10d053

View File

@ -780,6 +780,7 @@ list_drives (GList *drives,
g_object_unref (icon);
}
g_print ("%*sis_removable=%d\n", indent + 2, "", g_drive_is_removable (drive));
g_print ("%*sis_media_removable=%d\n", indent + 2, "", g_drive_is_media_removable (drive));
g_print ("%*shas_media=%d\n", indent + 2, "", g_drive_has_media (drive));
g_print ("%*sis_media_check_automatic=%d\n", indent + 2, "", g_drive_is_media_check_automatic (drive));