diff pidgin/gtkutils.c @ 18341:7f2c22c705a5

When the scrolled window is set to GTK_POLICY_NEVER, the scrolledwindow will increase its size request when there's enough text in the imhtml to warrent it. Turning the policy to AUTOMATIC makes the text wordwrap the way we want
author Sean Egan <seanegan@gmail.com>
date Thu, 28 Jun 2007 15:46:29 +0000
parents 44928d01ec8c
children 09b964413667
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Thu Jun 28 14:53:47 2007 +0000
+++ b/pidgin/gtkutils.c	Thu Jun 28 15:46:29 2007 +0000
@@ -176,7 +176,7 @@
 
 	sw = gtk_scrolled_window_new(NULL, NULL);
 	gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw),
-								   GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+								   GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
 	gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 0);
 	gtk_widget_show(sw);