[gnome-disk-utility] Use themed icons for Zip and Jaz drives



commit 9765aaa8bc0a0e5bcbd041b095b0fd882e7334ac
Author: David Zeuthen <davidz redhat com>
Date:   Tue Jun 16 19:46:32 2009 -0400

    Use themed icons for Zip and Jaz drives

 src/gdu/gdu-drive.c  |    4 ++++
 src/gdu/gdu-volume.c |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/gdu/gdu-drive.c b/src/gdu/gdu-drive.c
index 6811972..010c36b 100644
--- a/src/gdu/gdu-drive.c
+++ b/src/gdu/gdu-drive.c
@@ -366,6 +366,10 @@ gdu_drive_get_icon (GduPresentable *presentable)
                 name = "drive-optical";
         } else if (strv_has (drive_media_compat, "floppy")) {
                 name = "drive-removable-media-floppy";
+        } else if (strv_has (drive_media_compat, "floppy_zip")) {
+                name = "drive-removable-media-floppy-zip";
+        } else if (strv_has (drive_media_compat, "floppy_jaz")) {
+                name = "drive-removable-media-floppy-jaz";
         } else if (strv_has (drive_media_compat, "flash_cf")) {
                 name = "drive-removable-media-flash-cf";
         } else if (strv_has (drive_media_compat, "flash_ms")) {
diff --git a/src/gdu/gdu-volume.c b/src/gdu/gdu-volume.c
index 9baf25d..14fca87 100644
--- a/src/gdu/gdu-volume.c
+++ b/src/gdu/gdu-volume.c
@@ -426,6 +426,10 @@ gdu_volume_get_icon (GduPresentable *presentable)
                         name = "media-flash-sd";
                 } else if (strcmp (drive_media, "floppy") == 0) {
                         name = "media-floppy";
+                } else if (strcmp (drive_media, "floppy_zip") == 0) {
+                        name = "media-floppy-zip";
+                } else if (strcmp (drive_media, "floppy_jaz") == 0) {
+                        name = "media-floppy-jaz";
                 } else if (g_str_has_prefix (drive_media, "flash")) {
                         name = "media-flash";
                 } else if (g_str_has_prefix (drive_media, "optical")) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]