aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-07-04 00:09:27 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-07-04 00:09:27 +0800
commit322ab0cf74a384fceef1908d38ad452260c854aa (patch)
tree91653d95f75c42dc05fa77ca6ded963782eddf3e /libempathy-gtk
parent681d7ed09a2d4ed17ecbbd355f7fb2e833c8cb8d (diff)
downloadgsoc2013-empathy-322ab0cf74a384fceef1908d38ad452260c854aa.tar
gsoc2013-empathy-322ab0cf74a384fceef1908d38ad452260c854aa.tar.gz
gsoc2013-empathy-322ab0cf74a384fceef1908d38ad452260c854aa.tar.bz2
gsoc2013-empathy-322ab0cf74a384fceef1908d38ad452260c854aa.tar.lz
gsoc2013-empathy-322ab0cf74a384fceef1908d38ad452260c854aa.tar.xz
gsoc2013-empathy-322ab0cf74a384fceef1908d38ad452260c854aa.tar.zst
gsoc2013-empathy-322ab0cf74a384fceef1908d38ad452260c854aa.zip
Set an smiley icon for the "Insert smiley" menu item.
svn path=/trunk/; revision=1191
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 4fa9a10dc..9de2c79f6 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -956,7 +956,10 @@ chat_input_populate_popup_cb (GtkTextView *view,
gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), item);
gtk_widget_show (item);
- item = gtk_menu_item_new_with_mnemonic (_("Insert Smiley"));
+ item = gtk_image_menu_item_new_with_mnemonic (_("Insert Smiley"));
+ image = gtk_image_new_from_icon_name ("face-smile",
+ GTK_ICON_SIZE_MENU);
+ gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), item);
gtk_widget_show (item);