diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-24 19:28:53 -0400 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-24 22:20:49 -0400 |
commit | 02c793f24aa0a967473da48c5ff207c75ec2f413 (patch) | |
tree | 2cc7daa15b51d016805f5de546a447624e94cca6 /gtk/gtkrecentchooserdefault.c | |
parent | 2b571f41e2cfc4230871624c1a784bb112d85538 (diff) | |
download | gtk+-02c793f24aa0a967473da48c5ff207c75ec2f413.tar.gz |
Start migrating internals away from GtkStock
Diffstat (limited to 'gtk/gtkrecentchooserdefault.c')
-rw-r--r-- | gtk/gtkrecentchooserdefault.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c index f32ca1e32d..181ceec11b 100644 --- a/gtk/gtkrecentchooserdefault.c +++ b/gtk/gtkrecentchooserdefault.c @@ -27,7 +27,6 @@ #include <unistd.h> #endif -#include "gtkstock.h" #include "gtkicontheme.h" #include "gtkiconfactory.h" #include "gtksettings.h" @@ -1694,10 +1693,8 @@ recent_view_menu_build (GtkRecentChooserDefault *impl) impl->priv->recent_view, recent_popup_menu_detach_cb); - item = gtk_image_menu_item_new_with_mnemonic (_("Copy _Location")); + item = gtk_menu_item_new_with_mnemonic (_("Copy _Location")); impl->priv->recent_popup_menu_copy_item = item; - gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), - gtk_image_new_from_stock (GTK_STOCK_COPY, GTK_ICON_SIZE_MENU)); g_signal_connect (item, "activate", G_CALLBACK (copy_activated_cb), impl); gtk_widget_show (item); @@ -1707,19 +1704,15 @@ recent_view_menu_build (GtkRecentChooserDefault *impl) gtk_widget_show (item); gtk_menu_shell_append (GTK_MENU_SHELL (impl->priv->recent_popup_menu), item); - item = gtk_image_menu_item_new_with_mnemonic (_("_Remove From List")); + item = gtk_menu_item_new_with_mnemonic (_("_Remove From List")); impl->priv->recent_popup_menu_remove_item = item; - gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), - gtk_image_new_from_stock (GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); g_signal_connect (item, "activate", G_CALLBACK (remove_item_activated_cb), impl); gtk_widget_show (item); gtk_menu_shell_append (GTK_MENU_SHELL (impl->priv->recent_popup_menu), item); - item = gtk_image_menu_item_new_with_mnemonic (_("_Clear List")); + item = gtk_menu_item_new_with_mnemonic (_("_Clear List")); impl->priv->recent_popup_menu_clear_item = item; - gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), - gtk_image_new_from_stock (GTK_STOCK_CLEAR, GTK_ICON_SIZE_MENU)); g_signal_connect (item, "activate", G_CALLBACK (remove_all_activated_cb), impl); |