aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-14 08:30:41 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-14 08:30:41 +0800
commitb79a2ee8d325de52aa792123256a9d70a1ef4ee9 (patch)
treeb41797c5b359da51452cc6995e23438a6f95d146
parente8161bb7bb84356ecbb6cc61fce822104d0c7fa3 (diff)
downloadgsoc2013-epiphany-b79a2ee8d325de52aa792123256a9d70a1ef4ee9.tar
gsoc2013-epiphany-b79a2ee8d325de52aa792123256a9d70a1ef4ee9.tar.gz
gsoc2013-epiphany-b79a2ee8d325de52aa792123256a9d70a1ef4ee9.tar.bz2
gsoc2013-epiphany-b79a2ee8d325de52aa792123256a9d70a1ef4ee9.tar.lz
gsoc2013-epiphany-b79a2ee8d325de52aa792123256a9d70a1ef4ee9.tar.xz
gsoc2013-epiphany-b79a2ee8d325de52aa792123256a9d70a1ef4ee9.tar.zst
gsoc2013-epiphany-b79a2ee8d325de52aa792123256a9d70a1ef4ee9.zip
Renamed Remove action on bookmarksbar context menu. Fixes bug #162132.
2005-01-14 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (show_context_menu): * src/bookmarks/ephy-topic-action.c: (show_context_menu): Renamed Remove action on bookmarksbar context menu. Fixes bug #162132.
-rw-r--r--ChangeLog7
-rw-r--r--src/bookmarks/ephy-bookmark-action.c7
-rw-r--r--src/bookmarks/ephy-topic-action.c7
3 files changed, 17 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 679a7b64e..ae9d24c56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2005-01-14 Christian Persch <chpe@cvs.gnome.org>
+ * src/bookmarks/ephy-bookmark-action.c: (show_context_menu):
+ * src/bookmarks/ephy-topic-action.c: (show_context_menu):
+
+ Renamed Remove action on bookmarksbar context menu. Fixes bug #162132.
+
+2005-01-14 Christian Persch <chpe@cvs.gnome.org>
+
* embed/Makefile.am:
* lib/Makefile.am:
* src/Makefile.am:
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);