diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/ephy-bookmark-action.c | 7 | ||||
-rw-r--r-- | src/bookmarks/ephy-topic-action.c | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c index e032b91f6..ea4e96e40 100644 --- a/src/bookmarks/ephy-bookmark-action.c +++ b/src/bookmarks/ephy-bookmark-action.c @@ -536,7 +536,7 @@ show_context_menu (EphyBookmarkAction *action, GdkEventButton *event, GtkMenuPositionFunc func) { - GtkWidget *menu, *item; + GtkWidget *menu, *item, *image; gboolean last; menu = gtk_menu_new (); @@ -568,8 +568,11 @@ show_context_menu (EphyBookmarkAction *action, gtk_widget_show (item); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - item = gtk_image_menu_item_new_from_stock (GTK_STOCK_REMOVE, NULL); + item = gtk_image_menu_item_new_with_mnemonic (_("_Remove from Toolbar")); gtk_widget_show (item); + image = gtk_image_new_from_stock (GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image); + gtk_widget_show (image); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); g_signal_connect (item, "activate", G_CALLBACK (remove_activate_cb), proxy); diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c index e98e0a5c9..bb888f1ac 100644 --- a/src/bookmarks/ephy-topic-action.c +++ b/src/bookmarks/ephy-topic-action.c @@ -755,7 +755,7 @@ show_context_menu (EphyTopicAction *action, GdkEventButton *event, GtkMenuPositionFunc func) { - GtkWidget *menu, *item; + GtkWidget *menu, *item, *image; gboolean last; menu = gtk_menu_new (); @@ -767,8 +767,11 @@ show_context_menu (EphyTopicAction *action, gtk_widget_show (item); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - item = gtk_image_menu_item_new_from_stock (GTK_STOCK_REMOVE, NULL); + item = gtk_image_menu_item_new_with_mnemonic (_("_Remove from Toolbar")); gtk_widget_show (item); + image = gtk_image_new_from_stock (GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image); + gtk_widget_show (image); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); g_signal_connect (item, "activate", G_CALLBACK (remove_activate_cb), proxy); |