The attached patch makes Nautilus use "gnome-fs-home" instead of GTK_STOCK_HOME, thus fixing bug 320989 [1]. [1] http://bugzilla.gnome.org/show_bug.cgi?id=320989 -- Christian Neumair <chris gnome-de org>
Index: src/nautilus-main.c =================================================================== RCS file: /cvs/gnome/nautilus/src/nautilus-main.c,v retrieving revision 1.149 diff -u -p -r1.149 nautilus-main.c --- src/nautilus-main.c 17 Aug 2005 19:16:10 -0000 1.149 +++ src/nautilus-main.c 13 Nov 2005 14:43:38 -0000 @@ -137,7 +137,7 @@ register_icons (void) GtkIconSource *source; GtkIconSet *set; GtkIconFactory *factory; - const char *icons_to_register[] = {"gnome-fs-client", "gnome-fs-trash-empty", "gnome-dev-cdrom", "stock_new-template"}; + const char *icons_to_register[] = {"gnome-fs-client", "gnome-fs-home", "gnome-fs-trash-empty", "gnome-dev-cdrom", "stock_new-template"}; struct { int pixel; int gtk; } sizes[] = { {16, GTK_ICON_SIZE_MENU}, {18, GTK_ICON_SIZE_SMALL_TOOLBAR}, Index: src/nautilus-window-menus.c =================================================================== RCS file: /cvs/gnome/nautilus/src/nautilus-window-menus.c,v retrieving revision 1.290 diff -u -p -r1.290 nautilus-window-menus.c --- src/nautilus-window-menus.c 26 Oct 2005 09:07:07 -0000 1.290 +++ src/nautilus-window-menus.c 13 Nov 2005 14:43:42 -0000 @@ -666,7 +666,7 @@ static const GtkActionEntry main_entries N_("Connect to _Server..."), NULL, /* label, accelerator */ N_("Set up a connection to a network server"), /* tooltip */ G_CALLBACK (action_connect_to_server_callback) }, - { "Home", GTK_STOCK_HOME, /* name, stock id */ + { "Home", "gnome-fs-home", /* name, stock id */ N_("_Home"), "<alt>Home", /* label, accelerator */ N_("Go to the home folder"), /* tooltip */ G_CALLBACK (action_home_callback) }, Index: src/file-manager/fm-tree-view.c =================================================================== RCS file: /cvs/gnome/nautilus/src/file-manager/fm-tree-view.c,v retrieving revision 1.18 diff -u -p -r1.18 fm-tree-view.c --- src/file-manager/fm-tree-view.c 30 Sep 2005 12:55:32 -0000 1.18 +++ src/file-manager/fm-tree-view.c 13 Nov 2005 14:43:51 -0000 @@ -1241,7 +1241,7 @@ create_tree (FMTreeView *view) G_CALLBACK (row_loaded_callback), view, G_CONNECT_AFTER); home_uri = gnome_vfs_get_uri_from_local_path (g_get_home_dir ()); - fm_tree_model_add_root_uri (view->details->child_model, home_uri, _("Home Folder"), "gnome-home", NULL); + fm_tree_model_add_root_uri (view->details->child_model, home_uri, _("Home Folder"), "gnome-fs-home", NULL); g_free (home_uri); fm_tree_model_add_root_uri (view->details->child_model, "file:///", _("File System"), "gnome-fs-directory", NULL); #ifdef NOT_YET_USABLE
Attachment:
signature.asc
Description: This is a digitally signed message part