Mercurial > pidgin.yaz
comparison src/prefs.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 | 419bf1bc8fa2 |
children | 7aab0cc1ec78 |
comparison
equal
deleted
inserted
replaced
3921:67209a7ee924 | 3922:30f52e7afd1d |
---|---|
1323 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw2), | 1323 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw2), |
1324 GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); | 1324 GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); |
1325 gtk_box_pack_start(GTK_BOX(ret), sw2, TRUE, TRUE, 0); | 1325 gtk_box_pack_start(GTK_BOX(ret), sw2, TRUE, TRUE, 0); |
1326 | 1326 |
1327 gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(sw2), away_text); | 1327 gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(sw2), away_text); |
1328 GTK_LAYOUT(away_text)->hadjustment->step_increment = 10.0; | |
1329 GTK_LAYOUT(away_text)->vadjustment->step_increment = 10.0; | |
1330 gaim_setup_imhtml(away_text); | 1328 gaim_setup_imhtml(away_text); |
1331 gtk_imhtml_set_defaults(GTK_IMHTML(away_text), NULL, NULL, NULL); | 1329 gtk_imhtml_set_defaults(GTK_IMHTML(away_text), NULL, NULL, NULL); |
1332 sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (event_view)); | 1330 sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (event_view)); |
1333 g_signal_connect (G_OBJECT (sel), "changed", | 1331 g_signal_connect (G_OBJECT (sel), "changed", |
1334 G_CALLBACK (away_message_sel), | 1332 G_CALLBACK (away_message_sel), |