Mercurial > pidgin
comparison src/gtkdialogs.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 | 4cef9fe8ea5b |
children | d5bfc701e1e5 |
comparison
equal
deleted
inserted
replaced
13279:0c50401679d3 | 13280:3de53fe8345f |
---|---|
239 logo = gtk_image_new_from_stock(GAIM_STOCK_LOGO, gtk_icon_size_from_name(GAIM_ICON_SIZE_LOGO)); | 239 logo = gtk_image_new_from_stock(GAIM_STOCK_LOGO, gtk_icon_size_from_name(GAIM_ICON_SIZE_LOGO)); |
240 obj = gtk_widget_get_accessible(logo); | 240 obj = gtk_widget_get_accessible(logo); |
241 atk_object_set_description(obj, "Gaim " VERSION); | 241 atk_object_set_description(obj, "Gaim " VERSION); |
242 gtk_box_pack_start(GTK_BOX(vbox), logo, FALSE, FALSE, 0); | 242 gtk_box_pack_start(GTK_BOX(vbox), logo, FALSE, FALSE, 0); |
243 | 243 |
244 frame = gaim_gtk_create_imhtml(FALSE, &text, NULL); | 244 frame = gaim_gtk_create_imhtml(FALSE, &text, NULL, NULL); |
245 gtk_imhtml_set_format_functions(GTK_IMHTML(text), GTK_IMHTML_ALL ^ GTK_IMHTML_SMILEY); | 245 gtk_imhtml_set_format_functions(GTK_IMHTML(text), GTK_IMHTML_ALL ^ GTK_IMHTML_SMILEY); |
246 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); | 246 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); |
247 | 247 |
248 str = g_string_sized_new(4096); | 248 str = g_string_sized_new(4096); |
249 | 249 |