From 58bf532a3f5369b8651f2c076d9dd6d8253545b9 Mon Sep 17 00:00:00 2001 From: Andy Hertzfeld Date: Fri, 3 Nov 2000 00:20:49 +0000 Subject: fixed problem where I accidentally changed the icons for disk drives that fixed problem where I accidentally changed the icons for disk drives that appear on the desktop when I only meant to change the hardware view. Fixed by restoring the old icon, and using one with a different name in the hardware view. * components/hardware/nautilus-hardware-view.c: (setup_overview_form): use "i-harddrive.png" instead of "i-blockdev.png" * icons/Makefile.am: * icons/i-blockdev.png: * icons/i-harddrive.png: restored the old block device icon and added a new hard drive one. --- components/hardware/nautilus-hardware-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/hardware') diff --git a/components/hardware/nautilus-hardware-view.c b/components/hardware/nautilus-hardware-view.c index e7b477b9b..651a564a7 100644 --- a/components/hardware/nautilus-hardware-view.c +++ b/components/hardware/nautilus-hardware-view.c @@ -459,12 +459,12 @@ static void setup_overview_form (NautilusHardwareView *view) /* Set the icon depending on the type of device */ if(!strcmp(ide_media, "disk\n")) { - file_name = nautilus_pixmap_file("i-blockdev.png"); + file_name = nautilus_pixmap_file("i-harddisk.png"); } else if(!strcmp(ide_media, "cdrom\n")) { file_name = nautilus_pixmap_file("CD_drive.png"); } else { /* some other device ... still set an icon */ - file_name = nautilus_pixmap_file("i-blockdev.png"); + file_name = nautilus_pixmap_file("i-harddisk.png"); } pixmap_widget = GTK_WIDGET (gnome_pixmap_new_from_file(file_name)); -- cgit v1.2.1