Mercurial > pidgin.yaz
comparison libpurple/protocols/bonjour/bonjour.c @ 15463:0b6f337a46d5
Emblems in the blist
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 30 Jan 2007 06:53:23 +0000 |
parents | 42961709cb30 |
children | 6c686942a227 |
comparison
equal
deleted
inserted
replaced
15462:e9c12873fae0 | 15463:0b6f337a46d5 |
---|---|
287 } | 287 } |
288 | 288 |
289 bonjour_jabber_close_conversation(((BonjourData*)(connection->proto_data))->jabber_data, buddy); | 289 bonjour_jabber_close_conversation(((BonjourData*)(connection->proto_data))->jabber_data, buddy); |
290 } | 290 } |
291 | 291 |
292 static void | |
293 bonjour_list_emblems(GaimBuddy *buddy, | |
294 const char **se, const char **sw, | |
295 const char **nw, const char **ne) | |
296 { | |
297 GaimPresence *presence; | |
298 | |
299 presence = gaim_buddy_get_presence(buddy); | |
300 | |
301 if (gaim_presence_is_online(presence) && !gaim_presence_is_available(presence)) | |
302 *se = "away"; | |
303 } | |
304 | |
305 static char * | 292 static char * |
306 bonjour_status_text(GaimBuddy *buddy) | 293 bonjour_status_text(GaimBuddy *buddy) |
307 { | 294 { |
308 GaimPresence *presence; | 295 GaimPresence *presence; |
309 | 296 |
357 NULL, /* user_splits */ | 344 NULL, /* user_splits */ |
358 NULL, /* protocol_options */ | 345 NULL, /* protocol_options */ |
359 /* {"png", 0, 0, 96, 96, 0, GAIM_ICON_SCALE_DISPLAY}, */ /* icon_spec */ | 346 /* {"png", 0, 0, 96, 96, 0, GAIM_ICON_SCALE_DISPLAY}, */ /* icon_spec */ |
360 NO_BUDDY_ICONS, /* not yet */ /* icon_spec */ | 347 NO_BUDDY_ICONS, /* not yet */ /* icon_spec */ |
361 bonjour_list_icon, /* list_icon */ | 348 bonjour_list_icon, /* list_icon */ |
362 bonjour_list_emblems, /* list_emblems */ | 349 NULL, /* list_emblem */ |
363 bonjour_status_text, /* status_text */ | 350 bonjour_status_text, /* status_text */ |
364 bonjour_tooltip_text, /* tooltip_text */ | 351 bonjour_tooltip_text, /* tooltip_text */ |
365 bonjour_status_types, /* status_types */ | 352 bonjour_status_types, /* status_types */ |
366 NULL, /* blist_node_menu */ | 353 NULL, /* blist_node_menu */ |
367 NULL, /* chat_info */ | 354 NULL, /* chat_info */ |