Mercurial > pidgin.yaz
comparison src/conversation.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 | e4e9135d41b7 |
children | b8398b505b03 |
comparison
equal
deleted
inserted
replaced
3921:67209a7ee924 | 3922:30f52e7afd1d |
---|---|
189 show_conv(c); | 189 show_conv(c); |
190 update_icon(c); | 190 update_icon(c); |
191 update_checkbox(c); | 191 update_checkbox(c); |
192 update_smilies(c); | 192 update_smilies(c); |
193 plugin_event(event_new_conversation, name); | 193 plugin_event(event_new_conversation, name); |
194 gtk_imhtml_to_bottom(GTK_IMHTML(c->text)); | 194 /*gtk_imhtml_to_bottom(c->text);*/ |
195 return c; | 195 return c; |
196 } | 196 } |
197 | 197 |
198 | 198 |
199 struct conversation *find_conversation(const char *name) | 199 struct conversation *find_conversation(const char *name) |
2618 convo_menubar = NULL; | 2618 convo_menubar = NULL; |
2619 } | 2619 } |
2620 | 2620 |
2621 update_convo_status(c); | 2621 update_convo_status(c); |
2622 | 2622 |
2623 gtk_imhtml_to_bottom(GTK_IMHTML(c->text)); | 2623 /*gtk_imhtml_to_bottom(c->text);*/ |
2624 } | 2624 } |
2625 | 2625 |
2626 void update_convo_status(struct conversation *c) { | 2626 void update_convo_status(struct conversation *c) { |
2627 if(!c) | 2627 if(!c) |
2628 return; | 2628 return; |
2846 gtk_widget_show(sw); | 2846 gtk_widget_show(sw); |
2847 | 2847 |
2848 text = gtk_imhtml_new(NULL, NULL); | 2848 text = gtk_imhtml_new(NULL, NULL); |
2849 c->text = text; | 2849 c->text = text; |
2850 gtk_container_add(GTK_CONTAINER(sw), text); | 2850 gtk_container_add(GTK_CONTAINER(sw), text); |
2851 GTK_LAYOUT(text)->hadjustment->step_increment = 10.0; | |
2852 GTK_LAYOUT(text)->vadjustment->step_increment = 10.0; | |
2853 if (convo_options & OPT_CONVO_SHOW_TIME) | 2851 if (convo_options & OPT_CONVO_SHOW_TIME) |
2854 gtk_imhtml_show_comments(GTK_IMHTML(text), TRUE); | 2852 gtk_imhtml_show_comments(GTK_IMHTML(text), TRUE); |
2855 gaim_setup_imhtml(text); | 2853 gaim_setup_imhtml(text); |
2856 gtk_widget_show(text); | 2854 gtk_widget_show(text); |
2857 | 2855 |