[PATCH] Always use "user-home" as named icon for home



It seems that currently is using both old and legacy named icon
"gnome-fs-home" and new "user-home"

Here is the patch to always use the new one, updated to latest sources.

More named icons update can be found at bug #407130 (while patches are
outdate, I'll update them in next days)

############################

luca redrum:~/svn/gnome2/nautilus$ grep gnome-fs-home * -R
ChangeLog:      Always use gnome-fs-home for home icon.
nautilus-home.desktop:Icon=gnome-fs-home
nautilus-home.desktop.in:Icon=gnome-fs-home
nautilus-home.desktop.in.in:Icon=gnome-fs-home
src/nautilus-window-menus.c:  { "Home", "gnome-fs-home",                        /* name, stock id */
src/nautilus-places-sidebar.c:          icon = g_themed_icon_new ("gnome-fs-home");

luca redrum:~/svn/gnome2/nautilus$ grep user-home * -R
libnautilus-private/nautilus-desktop-link.c:            link->details->icon = g_themed_icon_new ("user-home");
src/file-manager/fm-tree-view.c:        icon = g_themed_icon_new ("user-home");
src/nautilus-pathbar.c:#define DEFAULT_HOME_ICON        "user-home"

Index: src/nautilus-window-menus.c
===================================================================
--- src/nautilus-window-menus.c	(revisione 13585)
+++ src/nautilus-window-menus.c	(copia locale)
@@ -665,7 +665,7 @@
     N_("Connect to a remote computer or shared disk"),                                      /* tooltip */ 
     G_CALLBACK (action_connect_to_server_callback) },
 #endif
-  { "Home", "gnome-fs-home",                        /* name, stock id */
+  { "Home", "user-home",                        /* name, stock id */
     N_("_Home Folder"), "<alt>Home",           /* label, accelerator */
     N_("Open your personal folder"),                                  /* tooltip */ 
     G_CALLBACK (action_home_callback) },
Index: src/nautilus-places-sidebar.c
===================================================================
--- src/nautilus-places-sidebar.c	(revisione 13585)
+++ src/nautilus-places-sidebar.c	(copia locale)
@@ -259,7 +259,7 @@
 
 		mount_uri = nautilus_get_home_directory_uri ();
 		display_name = g_filename_display_basename (g_get_home_dir ());
-		icon = g_themed_icon_new ("gnome-fs-home");
+		icon = g_themed_icon_new ("user-home");
 		last_iter = add_place (sidebar, PLACES_BUILT_IN,
 				       display_name, icon,
 				       mount_uri, NULL, NULL, NULL, 0);
Index: nautilus-home.desktop.in.in
===================================================================
--- nautilus-home.desktop.in.in	(revisione 13585)
+++ nautilus-home.desktop.in.in	(copia locale)
@@ -4,7 +4,7 @@
 _Comment=Open your personal folder
 TryExec=nautilus
 Exec=nautilus --no-desktop
-Icon=gnome-fs-home
+Icon=user-home
 Terminal=false
 StartupNotify=true
 Type=Application


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