Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 7154:19cc14ea7599
[gaim-migrate @ 7721]
i always liked the way xchat does this
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 05 Oct 2003 01:25:01 +0000 |
parents | 3aa374a7bc2e |
children | e60a007bab7d |
comparison
equal
deleted
inserted
replaced
7153:d4bb24ecc6aa | 7154:19cc14ea7599 |
---|---|
5032 update_typing_icon(conv); | 5032 update_typing_icon(conv); |
5033 } | 5033 } |
5034 | 5034 |
5035 } | 5035 } |
5036 else if (type == GAIM_CONV_UPDATE_TOPIC) { | 5036 else if (type == GAIM_CONV_UPDATE_TOPIC) { |
5037 const char *topic; | |
5037 chat = GAIM_CONV_CHAT(conv); | 5038 chat = GAIM_CONV_CHAT(conv); |
5038 gtkchat = gtkconv->u.chat; | 5039 gtkchat = gtkconv->u.chat; |
5039 | 5040 |
5040 gtk_entry_set_text(GTK_ENTRY(gtkchat->topic_text), | 5041 topic = gaim_conv_chat_get_topic(chat); |
5041 gaim_conv_chat_get_topic(chat)); | 5042 |
5043 gtk_entry_set_text(GTK_ENTRY(gtkchat->topic_text),topic); | |
5044 gtk_tooltips_set_tip(gtkconv->tooltips, gtkchat->topic_text, | |
5045 topic, NULL); | |
5042 } | 5046 } |
5043 else if (type == GAIM_CONV_ACCOUNT_ONLINE || | 5047 else if (type == GAIM_CONV_ACCOUNT_ONLINE || |
5044 type == GAIM_CONV_ACCOUNT_OFFLINE) { | 5048 type == GAIM_CONV_ACCOUNT_OFFLINE) { |
5045 | 5049 |
5046 generate_send_as_items(win, NULL); | 5050 generate_send_as_items(win, NULL); |