Mercurial > pidgin.yaz
comparison src/protocols/jabber/jabber.c @ 4744:a0746ffce599
[gaim-migrate @ 5059]
<i>None Advertised</i> is awful ugly.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 13 Mar 2003 10:16:59 +0000 |
parents | c15e0699acae |
children | 01cae9259e2f |
comparison
equal
deleted
inserted
replaced
4743:f58f79816ee0 | 4744:a0746ffce599 |
---|---|
3200 jabber_get_away_msg(gc, realwho); | 3200 jabber_get_away_msg(gc, realwho); |
3201 g_free(realwho); | 3201 g_free(realwho); |
3202 | 3202 |
3203 } | 3203 } |
3204 | 3204 |
3205 static char *jabber_tooltip_text(struct buddy *b) | |
3206 { | |
3207 struct jabber_data *jd = b->account->gc->proto_data; | |
3208 char *text = jabber_lookup_away(jd->gjc, b->name); | |
3209 if (text) | |
3210 return strip_html(text); | |
3211 return NULL; | |
3212 } | |
3213 | |
3205 static char *jabber_status_text(struct buddy *b) | 3214 static char *jabber_status_text(struct buddy *b) |
3206 { | 3215 { |
3207 struct jabber_data *jd = b->account->gc->proto_data; | 3216 struct jabber_data *jd = b->account->gc->proto_data; |
3208 if (b->uc & UC_UNAVAILABLE) { | 3217 if (b->uc & UC_UNAVAILABLE) { |
3209 return strip_html(jabber_lookup_away(jd->gjc, b->name)); | 3218 return strip_html(jabber_lookup_away(jd->gjc, b->name)); |
4160 ret->protocol = PROTO_JABBER; | 4169 ret->protocol = PROTO_JABBER; |
4161 ret->options = OPT_PROTO_UNIQUE_CHATNAME | OPT_PROTO_CHAT_TOPIC; | 4170 ret->options = OPT_PROTO_UNIQUE_CHATNAME | OPT_PROTO_CHAT_TOPIC; |
4162 ret->name = g_strdup("Jabber"); | 4171 ret->name = g_strdup("Jabber"); |
4163 ret->list_icon = jabber_list_icon; | 4172 ret->list_icon = jabber_list_icon; |
4164 ret->status_text = jabber_status_text; | 4173 ret->status_text = jabber_status_text; |
4174 ret->tooltip_text = jabber_tooltip_text; | |
4165 ret->away_states = jabber_away_states; | 4175 ret->away_states = jabber_away_states; |
4166 ret->actions = jabber_actions; | 4176 ret->actions = jabber_actions; |
4167 ret->buddy_menu = jabber_buddy_menu; | 4177 ret->buddy_menu = jabber_buddy_menu; |
4168 ret->edit_buddy_menu = jabber_edit_buddy_menu; | 4178 ret->edit_buddy_menu = jabber_edit_buddy_menu; |
4169 ret->login = jabber_login; | 4179 ret->login = jabber_login; |