Mercurial > pidgin.yaz
annotate doc/account-signals.dox @ 9554:8b2451878e26
[gaim-migrate @ 10387]
" This patch adds chat user status icons (voice / halfop
/ op / founder) to chats
There's a screenshot here, showing ops, voices and
ignored ops and voices
http://nosnilmot.com/gaim/chatusers.png
This required some changes in how the core stores the
list of users in chats to be able to store the status
too, which are detailed below.
I also fixed up some memory leaks as I came across them
(string values returned by gtk_tree_model_get() not
being g_free()'d) and a minor bug in signals-test.c
Conversation API:
Changed:
gaim_conv_chat_add_user() (added flags parameter)
gaim_conv_chat_add_users() now (added GList of flags
parameter)
gaim_conv_chat_get_users() now returns a GList of
GaimChatBuddy's
gaim_conv_chat_set_users() now expects a GList of
GaimChatBuddy's
Added:
gaim_conv_chat_set_user_flags()
gaim_conv_chat_get_user_flags()
gaim_conv_chat_find_user()
gaim_conv_chat_cb_new()
gaim_conv_chat_cb_find()
gaim_conv_chat_cb_destroy()
gaim_conv_chat_cb_get_name()
Conversation UI ops:
added: chat_update_user()
Signals:
Changed: chat-buddy-joining & chat-buddy-joined now
include the user's flags
Added: chat-buddy-flags for when user's flags change
Added:
gaim_marshal_VOID__POINTER_POINTER_POINTER_UINT_UINT
(required for the new chat-buddy-flags signal)
Protocol Plugins:
All updated to work with above changes (obviously)
User flags support added to IRC, Jabber and SILC
New Files:
pixmaps/status/default/ voice.svg halfop.svg op.svg
founder.svg
" --Stu Tomlinson
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 17 Jul 2004 18:11:12 +0000 |
parents | bb9a25682675 |
children | e1e47878d0ed |
rev | line source |
---|---|
6605 | 1 /** @page account-signals Account Signals |
2 | |
3 @signals | |
4 @signal account-away | |
5 @signal account-connecting | |
6 @signal account-setting-info | |
7 @signal account-set-info | |
9447 | 8 @signal account-warned |
6605 | 9 @endsignals |
10 | |
11 <hr> | |
12 | |
13 @signaldef account-away | |
14 @signalproto | |
15 void (*account_away)(GaimAccount *account, const char *state, const char *message); | |
16 @endsignalproto | |
6606
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
17 @signaldesc |
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
18 Emitted when an account goes away. |
6605 | 19 @param account The account that went away. |
20 @param state The away state. | |
21 @param message The away message. | |
22 @endsignaldef | |
23 | |
24 @signaldef account-connecting | |
25 @signalproto | |
26 void (*account_connecting)(GaimAccount *account); | |
27 @endsignalproto | |
28 @signaldesc | |
29 This is called when an account is in the process of connecting. | |
6606
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
30 @param account The account in the process of connecting. |
6605 | 31 @endsignaldef |
32 | |
33 @signaldef account-setting-info | |
34 @signalproto | |
35 void (*account_setting_info)(GaimAccount *account, const char *new_info); | |
36 @endsignalproto | |
37 @signaldesc | |
38 Emitted when a user is about to send his new user info, or | |
39 profile, to the server. | |
6606
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
40 @param account The account that the info will be set on. |
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
41 @param new_info The new information to set. |
6605 | 42 @endsignaldef |
43 | |
44 @signaldef account-set-info | |
45 @signalproto | |
46 void (*account_set_info)(GaimAccount *account, const char *new_info); | |
47 @endsignalproto | |
6606
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
48 @signaldesc |
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
49 Emitted when a user sent his new user info, or profile, to the server. |
6605 | 50 @param account The account that the info was set on. |
51 @param new_info The new information set. | |
52 @endsignaldef | |
53 | |
54 @signaldef account-warned | |
55 @signalproto | |
56 void (*account_warned)(GaimAccount *account, const char *warner, int level); | |
57 @endsignalproto | |
6606
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
58 @signaldesc |
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
59 Emitted when an account got warned. |
6605 | 60 @param account The account that was warned. |
61 @param warner The screenname of the user that warned the account. | |
62 @param level The new warning level. | |
63 @endsignaldef | |
64 | |
65 */ | |
66 // vim: syntax=c tw=75 et |