summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-10-02 01:20:38 -0400
committerTingPing <tingping@tingping.se>2013-10-03 16:23:46 -0400
commitda680f1066c86b27e57b9b2a0b71046637c3b3a0 (patch)
tree2377298c96cd29a0291819558d6a6f5e69ad0c51 /src/fe-gtk
parent67a488033bb5a003f34d7d93be5fdc64ab3e4927 (diff)
Use spell entry for topicbar
Closes #150
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/maingui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c
index fc5d032f..6b7bf61c 100644
--- a/src/fe-gtk/maingui.c
+++ b/src/fe-gtk/maingui.c
@@ -2161,8 +2161,9 @@ mg_create_topicbar (session *sess, GtkWidget *box)
 	if (!gui->is_tab)
 		sess->res->tab = NULL;
 
-	gui->topic_entry = topic = gtk_entry_new ();
+	gui->topic_entry = topic = sexy_spell_entry_new ();
 	gtk_widget_set_name (topic, "hexchat-inputbox");
+	sexy_spell_entry_set_checked (SEXY_SPELL_ENTRY (topic), FALSE);
 	gtk_container_add (GTK_CONTAINER (hbox), topic);
 	g_signal_connect (G_OBJECT (topic), "activate",
 							G_CALLBACK (mg_topic_cb), 0);