Mercurial > pidgin
comparison src/gtkpluginpref.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 | a0a4b44239e8 |
| children | 8bda65b88e49 |
comparison
equal
deleted
inserted
replaced
| 13279:0c50401679d3 | 13280:3de53fe8345f |
|---|---|
| 142 | 142 |
| 143 spacer = gtk_label_new(" "); | 143 spacer = gtk_label_new(" "); |
| 144 gtk_box_pack_start(GTK_BOX(hbox), spacer, FALSE, FALSE, 0); | 144 gtk_box_pack_start(GTK_BOX(hbox), spacer, FALSE, FALSE, 0); |
| 145 gtk_widget_show(spacer); | 145 gtk_widget_show(spacer); |
| 146 | 146 |
| 147 frame = gaim_gtk_create_imhtml(TRUE, &imhtml, &toolbar); | 147 frame = gaim_gtk_create_imhtml(TRUE, &imhtml, &toolbar, NULL); |
| 148 if (!(format & GAIM_STRING_FORMAT_TYPE_HTML)) | 148 if (!(format & GAIM_STRING_FORMAT_TYPE_HTML)) |
| 149 gtk_widget_destroy(toolbar); | 149 gtk_widget_destroy(toolbar); |
| 150 | 150 |
| 151 gtk_imhtml_append_text(GTK_IMHTML(imhtml), gaim_prefs_get_string(pref_name), | 151 gtk_imhtml_append_text(GTK_IMHTML(imhtml), gaim_prefs_get_string(pref_name), |
| 152 (format & GAIM_STRING_FORMAT_TYPE_MULTILINE) ? 0 : GTK_IMHTML_NO_NEWLINE); | 152 (format & GAIM_STRING_FORMAT_TYPE_MULTILINE) ? 0 : GTK_IMHTML_NO_NEWLINE); |
