aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-07-04 00:09:25 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-07-04 00:09:25 +0800
commit681d7ed09a2d4ed17ecbbd355f7fb2e833c8cb8d (patch)
tree43580d04301f4fc5e304ac7bffe162175c892775 /libempathy-gtk
parentcd933f45b4818337e24ebea79767e4d2d76a593e (diff)
downloadgsoc2013-empathy-681d7ed09a2d4ed17ecbbd355f7fb2e833c8cb8d.tar
gsoc2013-empathy-681d7ed09a2d4ed17ecbbd355f7fb2e833c8cb8d.tar.gz
gsoc2013-empathy-681d7ed09a2d4ed17ecbbd355f7fb2e833c8cb8d.tar.bz2
gsoc2013-empathy-681d7ed09a2d4ed17ecbbd355f7fb2e833c8cb8d.tar.lz
gsoc2013-empathy-681d7ed09a2d4ed17ecbbd355f7fb2e833c8cb8d.tar.xz
gsoc2013-empathy-681d7ed09a2d4ed17ecbbd355f7fb2e833c8cb8d.tar.zst
gsoc2013-empathy-681d7ed09a2d4ed17ecbbd355f7fb2e833c8cb8d.zip
Set an icon for the spellcheck menu item
svn path=/trunk/; revision=1190
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index a3aa6de35..4fa9a10dc 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -946,6 +946,7 @@ chat_input_populate_popup_cb (GtkTextView *view,
gchar *str = NULL;
EmpathyChatSpell *chat_spell;
GtkWidget *smiley_menu;
+ GtkWidget *image;
priv = GET_PRIV (chat);
buffer = gtk_text_view_get_buffer (view);
@@ -1002,7 +1003,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 (_("_Check Word Spelling..."));
+ item = gtk_image_menu_item_new_with_mnemonic (_("_Check Word Spelling..."));
+ image = gtk_image_new_from_icon_name (GTK_STOCK_SPELL_CHECK,
+ GTK_ICON_SIZE_MENU);
+ gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
g_signal_connect (item,
"activate",
G_CALLBACK (chat_text_check_word_spelling_cb),