aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-07-04 00:09:25 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-07-04 00:09:25 +0800
commit86940236952944a52feecae5a93426e1286da7e0 (patch)
tree43580d04301f4fc5e304ac7bffe162175c892775 /libempathy-gtk
parente6669652d00b9780bad7f25c198c5497f736b2db (diff)
downloadgsoc2013-empathy-86940236952944a52feecae5a93426e1286da7e0.tar
gsoc2013-empathy-86940236952944a52feecae5a93426e1286da7e0.tar.gz
gsoc2013-empathy-86940236952944a52feecae5a93426e1286da7e0.tar.bz2
gsoc2013-empathy-86940236952944a52feecae5a93426e1286da7e0.tar.lz
gsoc2013-empathy-86940236952944a52feecae5a93426e1286da7e0.tar.xz
gsoc2013-empathy-86940236952944a52feecae5a93426e1286da7e0.tar.zst
gsoc2013-empathy-86940236952944a52feecae5a93426e1286da7e0.zip
Set an icon for the spellcheck menu item
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1190 4ee84921-47dd-4033-b63a-18d7a039a3e4
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),