From d39d45baf208b349203c9f67f60b4be7506f9b8f Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 8 Jul 2008 17:33:10 +0000 Subject: empathy-contact-widget: use gtk_image_menu_item_new_from_stock (Guillaume Desmottes) svn path=/trunk/; revision=1215 --- libempathy-gtk/empathy-contact-widget.c | 6 ++---- 1 file 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); -- cgit v1.2.3