changeset 8329:9dd7c75ed433

[gaim-migrate @ 9053] Handle the display of the formatting toolbar correctly. Only the first tab was getting a toolbar. Now it should work for all conversations. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 24 Feb 2004 04:27:58 +0000
parents 645a3d07ee45
children 80915fd16349
files src/gtkconv.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Tue Feb 24 02:38:52 2004 +0000
+++ b/src/gtkconv.c	Tue Feb 24 04:27:58 2004 +0000
@@ -272,7 +272,7 @@
 	GaimConnection *gc = gaim_conversation_get_gc(conv);
 
 	gtkconv = GAIM_GTK_CONVERSATION(conv);
-	
+
 	if (gc && gc->flags & GAIM_CONNECTION_HTML)
 		buf = gtk_imhtml_get_markup(GTK_IMHTML(gtkconv->entry));
 	else
@@ -4065,6 +4065,9 @@
 		gtkconv->show_formatting_toolbar = gaim_prefs_get_bool(
 				"/gaim/gtk/conversations/show_formatting_toolbar");
 
+		if (gtkconv->show_formatting_toolbar)
+			gtk_widget_show(gtkconv->toolbar);
+
 		g_signal_connect_swapped(G_OBJECT(pane), "focus",
 					G_CALLBACK(gtk_widget_grab_focus),
 					gtkconv->entry);