[gvfs] mtp: Use phone icon for MTP devices
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] mtp: Use phone icon for MTP devices
- Date: Fri, 11 Dec 2015 09:38:25 +0000 (UTC)
commit 9843229185fcbd9bdb5581dd07139e62d2b3eaed
Author: Ondrej Holy <oholy redhat com>
Date: Thu Dec 10 18:54:28 2015 +0100
mtp: Use phone icon for MTP devices
Majority of MTP devices are mobile phones nowadays. Use "phone" icon
for them instead of "multimedia-player" icon to reflect this trend.
https://bugzilla.gnome.org/show_bug.cgi?id=759042
common/gvfsgphoto2utils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/common/gvfsgphoto2utils.c b/common/gvfsgphoto2utils.c
index 5d8fe17..8608e51 100644
--- a/common/gvfsgphoto2utils.c
+++ b/common/gvfsgphoto2utils.c
@@ -125,7 +125,7 @@ g_vfs_get_volume_icon (GUdevDevice *device)
if (g_udev_device_has_property (device, "ID_MEDIA_PLAYER_ICON_NAME"))
return g_strdup (g_udev_device_get_property (device, "ID_MEDIA_PLAYER_ICON_NAME"));
else if (g_udev_device_has_property (device, "ID_MEDIA_PLAYER"))
- return g_strdup ("multimedia-player");
+ return g_strdup ("phone");
else
return g_strdup ("camera-photo");
}
@@ -136,7 +136,7 @@ g_vfs_get_volume_symbolic_icon (GUdevDevice *device)
if (g_udev_device_has_property (device, "ID_MEDIA_PLAYER_ICON_NAME"))
return g_strconcat (g_udev_device_get_property (device, "ID_MEDIA_PLAYER_ICON_NAME"), "-symbolic", NULL);
else if (g_udev_device_has_property (device, "ID_MEDIA_PLAYER"))
- return g_strdup ("multimedia-player-symbolic");
+ return g_strdup ("phone-symbolic");
else
return g_strdup ("camera-photo-symbolic");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]