Mercurial > pidgin
comparison src/gtkstatusbox.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 | c97c76d9d347 |
children | 4dcd0fba99a9 |
comparison
equal
deleted
inserted
replaced
13279:0c50401679d3 | 13280:3de53fe8345f |
---|---|
934 #if GTK_CHECK_VERSION(2, 6, 0) | 934 #if GTK_CHECK_VERSION(2, 6, 0) |
935 g_object_set(status_box->text_rend, "ellipsize", PANGO_ELLIPSIZE_END, NULL); | 935 g_object_set(status_box->text_rend, "ellipsize", PANGO_ELLIPSIZE_END, NULL); |
936 #endif | 936 #endif |
937 | 937 |
938 status_box->vbox = gtk_vbox_new(0, FALSE); | 938 status_box->vbox = gtk_vbox_new(0, FALSE); |
939 status_box->sw = gaim_gtk_create_imhtml(FALSE, &status_box->imhtml, NULL); | 939 status_box->sw = gaim_gtk_create_imhtml(FALSE, &status_box->imhtml, NULL, NULL); |
940 gtk_imhtml_set_editable(GTK_IMHTML(status_box->imhtml), TRUE); | 940 gtk_imhtml_set_editable(GTK_IMHTML(status_box->imhtml), TRUE); |
941 | 941 |
942 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(status_box->imhtml)); | 942 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(status_box->imhtml)); |
943 #if 0 | 943 #if 0 |
944 g_signal_connect(G_OBJECT(status_box->toggle_button), "button-press-event", | 944 g_signal_connect(G_OBJECT(status_box->toggle_button), "button-press-event", |