[patch] use nautilus-cd-burner icon



Hi,

Jakub Steiner has created a nice icon for nautilus-cd-burner which is now in CVS HEAD. [1]

Attached is a patch to make nautilus use this for the burn:/// window icon and the Places menu. Look OK?

Thanks,
Jon

[1] http://bugzilla.gnome.org/show_bug.cgi?id=346226
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/nautilus/ChangeLog,v
retrieving revision 1.6891
diff -p -u -r1.6891 ChangeLog
--- ChangeLog	21 Jun 2006 16:26:07 -0000	1.6891
+++ ChangeLog	6 Jul 2006 17:09:08 -0000
@@ -1,3 +1,11 @@
+2006-07-06  William Jon McCann  <mccann jhu edu>
+
+	* libnautilus-private/nautilus-icon-factory.c:
+	(get_special_icon_for_file):
+	* src/nautilus-window-menus.c:
+	Use nautilus-cd-burner icon instead of gnome-dev-cdrom
+	for burn:///.
+
 2006-06-21  Christian Neumair  <chris gnome-de org>
 
 	Add complete session management, remember maximization state and type
Index: libnautilus-private/nautilus-icon-factory.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-icon-factory.c,v
retrieving revision 1.328
diff -p -u -r1.328 nautilus-icon-factory.c
--- libnautilus-private/nautilus-icon-factory.c	30 May 2006 17:42:08 -0000	1.328
+++ libnautilus-private/nautilus-icon-factory.c	6 Jul 2006 17:09:09 -0000
@@ -830,7 +830,7 @@ get_special_icon_for_file (NautilusFile 
 	uri = nautilus_file_get_uri (file);
 
 	if (strcmp (uri, "burn:///") == 0) {
-		ret = "gnome-dev-cdrom";
+		ret = "nautilus-cd-burner";
 	} else if (strcmp (uri, "computer:///") == 0) {
 		ret = "gnome-fs-client";
 	} else if ((strcmp (uri, "network:///") == 0)
Index: src/nautilus-window-menus.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-window-menus.c,v
retrieving revision 1.298
diff -p -u -r1.298 nautilus-window-menus.c
--- src/nautilus-window-menus.c	16 Jun 2006 15:40:18 -0000	1.298
+++ src/nautilus-window-menus.c	6 Jul 2006 17:09:09 -0000
@@ -683,7 +683,7 @@ static const GtkActionEntry main_entries
     N_("_Trash"), NULL,           /* label, accelerator */
     N_("Go to the trash folder"),                                  /* tooltip */ 
     G_CALLBACK (action_go_to_trash_callback) },
-  { "Go to Burn CD", "gnome-dev-cdrom",                        /* name, stock id */
+  { "Go to Burn CD", "nautilus-cd-burner",                        /* name, stock id */
     N_("CD/_DVD Creator"), NULL,           /* label, accelerator */
     N_("Go to the CD/DVD Creator"),                                  /* tooltip */ 
     G_CALLBACK (action_go_to_burn_cd_callback) },


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