Mercurial > pidgin.yaz
comparison src/server.c @ 3922:30f52e7afd1d
[gaim-migrate @ 4094]
This is gtkimhtml2--it's a subclass of gtktextview. It's not done yet. It doesn't
do smileys or images, and what it does do so far, it doesn't do perfectly. But it's
perfectly 100% usable, and like 80,000 times faster than gtkimhtml + Pango.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 08 Nov 2002 06:10:35 +0000 |
parents | b2ec492c9afe |
children | 15b0d5b2de4d |
comparison
equal
deleted
inserted
replaced
3921:67209a7ee924 | 3922:30f52e7afd1d |
---|---|
1155 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); | 1155 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); |
1156 gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 5); | 1156 gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 5); |
1157 | 1157 |
1158 text = gtk_imhtml_new(NULL, NULL); | 1158 text = gtk_imhtml_new(NULL, NULL); |
1159 gtk_container_add(GTK_CONTAINER(sw), text); | 1159 gtk_container_add(GTK_CONTAINER(sw), text); |
1160 GTK_LAYOUT(text)->hadjustment->step_increment = 10.0; | |
1161 GTK_LAYOUT(text)->vadjustment->step_increment = 10.0; | |
1162 gaim_setup_imhtml(text); | 1160 gaim_setup_imhtml(text); |
1163 | 1161 |
1164 hbox = gtk_hbox_new(FALSE, 5); | 1162 hbox = gtk_hbox_new(FALSE, 5); |
1165 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); | 1163 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); |
1166 | 1164 |