aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-07-09 01:33:10 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-07-09 01:33:10 +0800
commitd39d45baf208b349203c9f67f60b4be7506f9b8f (patch)
tree6bd32d922db405e5049763a29da33927a4bb27d8 /libempathy-gtk
parent0b0d39c19fbb638489d1de348ec05bb3daa2a760 (diff)
downloadgsoc2013-empathy-d39d45baf208b349203c9f67f60b4be7506f9b8f.tar
gsoc2013-empathy-d39d45baf208b349203c9f67f60b4be7506f9b8f.tar.gz
gsoc2013-empathy-d39d45baf208b349203c9f67f60b4be7506f9b8f.tar.bz2
gsoc2013-empathy-d39d45baf208b349203c9f67f60b4be7506f9b8f.tar.lz
gsoc2013-empathy-d39d45baf208b349203c9f67f60b4be7506f9b8f.tar.xz
gsoc2013-empathy-d39d45baf208b349203c9f67f60b4be7506f9b8f.tar.zst
gsoc2013-empathy-d39d45baf208b349203c9f67f60b4be7506f9b8f.zip
empathy-contact-widget: use gtk_image_menu_item_new_from_stock (Guillaume Desmottes)
svn path=/trunk/; revision=1215
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 2d3d0c635..96eac0b28 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -444,15 +444,13 @@ popup_avatar_menu (EmpathyContactWidget *information,
GtkWidget *parent,
GdkEventButton *event)
{
- GtkWidget *menu, *item, *image;
+ GtkWidget *menu, *item;
gint button, event_time;
menu = gtk_menu_new ();
/* Add "Save as..." entry */
- item = gtk_image_menu_item_new_with_mnemonic (_("_Save As..."));
- image = gtk_image_new_from_icon_name (GTK_STOCK_SAVE_AS, GTK_ICON_SIZE_MENU);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
+ item = gtk_image_menu_item_new_from_stock (GTK_STOCK_SAVE_AS, NULL);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
gtk_widget_show (item);