Mercurial > pidgin
comparison src/gtkdebug.c @ 13280:3de53fe8345f
[gaim-migrate @ 15646]
Always show a vertical scrollbar on conversations imhtmls. This will solve the shrinking conversation window bug. I chose this approach instead of saving the size of the window (as I had previous talked about), as this prevents the contents of the scrollback from rewrapping when the scrollbars appear or disappear. It also just seems to feel like the right thing to do, but maybe that's me being lazy.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 14 Feb 2006 05:43:43 +0000 |
parents | fcde3faa1f57 |
children | b76c6de0c3b5 |
comparison
equal
deleted
inserted
replaced
13279:0c50401679d3 | 13280:3de53fe8345f |
---|---|
767 | 767 |
768 #endif /* HAVE_REGEX_H */ | 768 #endif /* HAVE_REGEX_H */ |
769 } | 769 } |
770 | 770 |
771 /* Add the gtkimhtml */ | 771 /* Add the gtkimhtml */ |
772 frame = gaim_gtk_create_imhtml(FALSE, &win->text, NULL); | 772 frame = gaim_gtk_create_imhtml(FALSE, &win->text, NULL, NULL); |
773 gtk_imhtml_set_format_functions(GTK_IMHTML(win->text), | 773 gtk_imhtml_set_format_functions(GTK_IMHTML(win->text), |
774 GTK_IMHTML_ALL ^ GTK_IMHTML_SMILEY ^ GTK_IMHTML_IMAGE); | 774 GTK_IMHTML_ALL ^ GTK_IMHTML_SMILEY ^ GTK_IMHTML_IMAGE); |
775 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); | 775 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); |
776 gtk_widget_show(frame); | 776 gtk_widget_show(frame); |
777 | 777 |