From 990c8cacb0f422c474c1fc1684404fd1094312f3 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 21 Oct 2013 15:29:17 +0200 Subject: add icon for multidisk (/dev/md*) --- udev-block-notify.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/udev-block-notify.c b/udev-block-notify.c index 3d66fe8..8098682 100644 --- a/udev-block-notify.c +++ b/udev-block-notify.c @@ -25,6 +25,7 @@ #define ICON_DRIVE_HARDDISK_IEEE1394 "drive-harddisk-ieee1394" #define ICON_DRIVE_HARDDISK_USB "drive-harddisk-usb" #define ICON_DRIVE_OPTICAL "drive-optical" +#define ICON_DRIVE_MULTIDISK "drive-multidisk" #define ICON_LOOP "media-playlist-repeat" #define ICON_MEDIA_FLASH "media-flash" #define ICON_MEDIA_FLOPPY "media-floppy" @@ -235,6 +236,8 @@ int main (int argc, char ** argv) { icon = ICON_LOOP; } else if (strncmp(device, "nbd", 3) == 0) { icon = ICON_NETWORK_SERVER; + } else if (strncmp(device, "md", 2) == 0) { + icon = ICON_DRIVE_MULTIDISK; } else if (value != NULL) { if (strcmp(value, "ata") == 0 || strcmp(value, "scsi") == 0) { -- cgit v1.2.3-70-g09d2