diff doc/blist-signals.dox @ 11454:201617d49573

[gaim-migrate @ 13693] This commit includes a number of changes: 1. Aliases are now used consistently in chats. If the prpl uses unique screen names for chats (e.g. Jabber), then aliases are not used at all. 2. The chat list is now colorized to match the colors used in the chat itself. 3. Buddies are bolded in the chat user list. 4. Buddies are sorted above non-buddies in the chat user list. 5. The chat user list is ellipsized when possible (i.e. on GTK+ 2.6.0 or above). 6. I've accepted patch #1178248, by Matt Amato to add "buddy-added" and "buddy-removed" signals. These were used in my implementation of #3 and #4, to update the GUI when users are added or removed from the buddy list. 7. I've added a "blist-node-aliased" signal that is emitted when a buddy, contact, or chat is aliased. 8. Since it was hard to separate and I need it at some point, I'm letting it slip in... I've changed GaimConversation.log to be a GList named logs. This way, we can have multiple logs for a single conversation. This will be necessary to implement unnamed chat logging in some reasonable fasion (see my notes in the TODO file). committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 06 Sep 2005 03:04:07 +0000
parents 2583056be3a4
children cb73483c9f63
line wrap: on
line diff
--- a/doc/blist-signals.dox	Tue Sep 06 02:35:26 2005 +0000
+++ b/doc/blist-signals.dox	Tue Sep 06 03:04:07 2005 +0000
@@ -9,6 +9,9 @@
   @signal buddy-signed-off
   @signal update-idle
   @signal blist-node-extended-menu
+  @signal buddy-added
+  @signal buddy-removed
+  @signal blist-node-aliased
  @endsignals
 
  <hr>
@@ -94,5 +97,29 @@
    a GList of GaimBlistNodeAction's allowing a plugin to add menu items
  @endsignaldef
 
+ @signaldef buddy-added
+  @signalproto
+void (*buddy_added)(GaimBuddy *buddy)
+  @endsignalproto
+  @signaldesc
+   Emitted when a new buddy is added to the buddy list.
+  @endsignaldef
+
+ @signaldef buddy-removed
+  @signalproto
+void (*buddy_removed)(GaimBuddy *buddy)
+  @endsignalproto
+  @signaldesc
+   Emitted when a buddy is removed from the buddy list.
+  @endsignaldef
+
+ @signaldef blist-node-aliased
+  @signalproto
+void (*blist_node_aliased)(GaimBlistNode *node, const char *old_alias)
+  @endsignalproto
+  @signaldesc
+   Emitted when a blist node (buddy, chat, or contact) is aliased.
+  @endsignaldef
+
  */
 // vim: syntax=c tw=75 et