diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2014-09-09 18:55:10 +0100 |
---|---|---|
committer | Ross Lagerwall <rosslagerwall@gmail.com> | 2014-10-13 22:13:29 +0100 |
commit | feb570c230183052076aad6ae33ca331b721ecad (patch) | |
tree | 9ea86060600b9ddc47c9985f1f1db5580cf8973f /daemon/gvfsbackendmtp.h | |
parent | 33d1ba069ac55f8fcfe50f67197e09b1285d4350 (diff) | |
download | gvfs-feb570c230183052076aad6ae33ca331b721ecad.tar.gz |
mtp: Improve root dir name and icon handling
If the device has no friendly name, set the display name of the device
from the udev info to match the name shown by the volume monitor.
This is visible as the folder title when the root dir of the device is
open in Nautilus (or using gvfs-info).
https://bugzilla.gnome.org/show_bug.cgi?id=736285
Diffstat (limited to 'daemon/gvfsbackendmtp.h')
-rw-r--r-- | daemon/gvfsbackendmtp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/gvfsbackendmtp.h b/daemon/gvfsbackendmtp.h index ce2159d8..c45618b8 100644 --- a/daemon/gvfsbackendmtp.h +++ b/daemon/gvfsbackendmtp.h @@ -52,6 +52,9 @@ struct _GVfsBackendMtp GMutex mutex; LIBMTP_mtpdevice_t *device; char *dev_path; + char *volume_name; + char *volume_icon; + char *volume_symbolic_icon; GHashTable *file_cache; |