The Icon Naming Spec defines the "folder-new" icon (for the action to create a new document) and "document-new" icon (for the action to create a new document) and "window-new" icon (for "New Window" menu item). Here is a trivial patch to use those icons in File->Create Folder and File->Create Document menu items in Nautilus as well as in File->Open New Window (screenshot attached) OK to commit? PS this is just a preview, the full patch will provide a configure check for proper gnome-icon-theme version.
? nautilus-computer.desktop.in ? nautilus-file-management-properties.desktop.in ? nautilus-folder-handler.desktop.in ? nautilus-home.desktop.in ? nautilus.desktop.in ? cut-n-paste-code/gsequence/.deps ? cut-n-paste-code/gsequence/.libs ? cut-n-paste-code/gsequence/gsequence.lo ? cut-n-paste-code/gsequence/libgsequence.la ? cut-n-paste-code/libegg/.deps ? cut-n-paste-code/libegg/.libs ? cut-n-paste-code/libegg/eggtreemultidnd.lo ? cut-n-paste-code/libegg/libegg.la ? libbackground/.deps ? libbackground/.libs ? libbackground/applier.lo ? libbackground/libbackground.la ? libbackground/preferences.lo ? po/.intltool-merge-cache Index: src/nautilus-navigation-window-menus.c =================================================================== RCS file: /cvs/gnome/nautilus/src/nautilus-navigation-window-menus.c,v retrieving revision 1.287 diff -n -u -r1.287 nautilus-navigation-window-menus.c --- src/nautilus-navigation-window-menus.c 15 Dec 2006 09:02:25 -0000 1.287 +++ src/nautilus-navigation-window-menus.c 15 Dec 2006 14:46:43 -0000 @@ -425,7 +425,7 @@ static const GtkActionEntry navigation_entries[] = { { "Go", NULL, N_("_Go") }, /* name, stock id, label */ { "Bookmarks", NULL, N_("_Bookmarks") }, /* name, stock id, label */ - { "New Window", NULL, N_("Open New _Window"), /* name, stock id, label */ + { "New Window", "window-new", N_("Open New _Window"), /* name, stock id, label */ "<control>N", N_("Open another Nautilus window for the displayed location"), G_CALLBACK (action_new_window_callback) }, { "Close All Windows", NULL, N_("Close _All Windows"), /* name, stock id, label */ Index: src/file-manager/fm-directory-view.c =================================================================== RCS file: /cvs/gnome/nautilus/src/file-manager/fm-directory-view.c,v retrieving revision 1.753 diff -n -u -r1.753 fm-directory-view.c --- src/file-manager/fm-directory-view.c 23 Nov 2006 13:57:01 -0000 1.753 +++ src/file-manager/fm-directory-view.c 15 Dec 2006 14:46:45 -0000 @@ -6805,7 +6805,7 @@ } static const GtkActionEntry directory_view_entries[] = { - { "New Documents", NULL, N_("Create _Document") }, /* name, stock id, label */ + { "New Documents", "document-new", N_("Create _Document") }, /* name, stock id, label */ { "Open With", NULL, N_("Open Wit_h"), /* name, stock id, label */ NULL, N_("Choose a program with which to open the selected item") }, { "Properties", GTK_STOCK_PROPERTIES, /* name, stock id */ @@ -6820,7 +6820,7 @@ N_("_Properties"), NULL, /* label, accelerator */ N_("View or modify the properties of the open folder"), /* tooltip */ G_CALLBACK (action_self_properties_callback) }, - { "New Folder", NULL, /* name, stock id */ + { "New Folder", "folder-new", /* name, stock id */ N_("Create _Folder"), "<control><shift>N", /* label, accelerator */ N_("Create a new empty folder inside this folder"), /* tooltip */ G_CALLBACK (action_new_folder_callback) },
Attachment:
new-icons.png
Description: PNG image