From da680f1066c86b27e57b9b2a0b71046637c3b3a0 Mon Sep 17 00:00:00 2001 From: TingPing Date: Wed, 2 Oct 2013 01:20:38 -0400 Subject: [PATCH] Use spell entry for topicbar Closes #150 --- src/fe-gtk/maingui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);