mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
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:
parent
094613425e
commit
292f10d053
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user