summaryrefslogtreecommitdiff
path: root/src/nautilus-window-menus.c
diff options
context:
space:
mode:
authorChristian Neumair <chris@gnome-de.org>2005-10-17 17:43:58 +0000
committerChristian Neumair <cneumair@src.gnome.org>2005-10-17 17:43:58 +0000
commit38a5fd96a672345fed755a15efa2cf344a16fd17 (patch)
treea95aa6e96790239746f654844e8b0dc64a9a81ce /src/nautilus-window-menus.c
parent79c68880b193430f544821b0f1bc5a3561c4449e (diff)
downloadnautilus-38a5fd96a672345fed755a15efa2cf344a16fd17.tar.gz
Kill NAUTILUS_ICON_SIZE_FOR_MENUS, make icon factory support GTK+ stock
2005-10-17 Christian Neumair <chris@gnome-de.org> * libnautilus-private/nautilus-bookmark.c: * libnautilus-private/nautilus-bookmark.h: * libnautilus-private/nautilus-icon-container.c: * libnautilus-private/nautilus-icon-factory.c: * libnautilus-private/nautilus-icon-factory.h: * libnautilus-private/nautilus-ui-utilities.c: * src/nautilus-bookmarks-window.c: * src/nautilus-history-sidebar.c: * src/nautilus-places-sidebar.c: * src/nautilus-sidebar-title.c: * src/nautilus-spatial-window.c: * src/nautilus-window-menus.c: * src/file-manager/fm-directory-view.c: Kill NAUTILUS_ICON_SIZE_FOR_MENUS, make icon factory support GTK+ stock icon size, use this size in the sidebar, and in menus. Fixes #167107 and others.
Diffstat (limited to 'src/nautilus-window-menus.c')
-rw-r--r--src/nautilus-window-menus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nautilus-window-menus.c b/src/nautilus-window-menus.c
index 1fea2e7c8..5ea5153ab 100644
--- a/src/nautilus-window-menus.c
+++ b/src/nautilus-window-menus.c
@@ -50,6 +50,7 @@
#include <libxml/parser.h>
#include <gtk/gtkmain.h>
#include <gtk/gtkaboutdialog.h>
+#include <gtk/gtkenums.h>
#include <libgnome/gnome-help.h>
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-util.h>
@@ -168,7 +169,7 @@ nautilus_menus_append_bookmark_to_menu (NautilusWindow *window,
g_free (truncated_name);
/* Create menu item with pixbuf */
- pixbuf = nautilus_bookmark_get_pixbuf (bookmark, NAUTILUS_ICON_SIZE_FOR_MENUS, FALSE);
+ pixbuf = nautilus_bookmark_get_pixbuf (bookmark, GTK_ICON_SIZE_MENU);
action_name = g_strdup_printf ("bookmark_%s_%d", parent_id, index_in_parent);