Mercurial > pidgin.yaz
annotate doc/buddyicon-signals.dox @ 11815:821f40e1912f
[gaim-migrate @ 14106]
SF Patch #1336924 from sadrul
'From the wiki:
"If you have a tab open for a given contact, and then
drag an additional buddy into that contact, the send to
menu does not update."
This patch updates all the focused-conversations in
every window (note that not all conversation in every
tab). This wouldn't be necessary if it was possible to
tell which contact a buddy was removed from. But that
info is not available, so this is the way I can think of.
It works, and will probably not cause too much overhead
for most users -- assuming most of them use tabbed
convs and hence number of windows won't be too great.'
To track which contact was updated would be problematic, I think.
This doesn't seem like too much overhead to me and it keeps the code clean.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 25 Oct 2005 13:56:14 +0000 |
parents | 4febc4df0eb8 |
children |
rev | line source |
---|---|
11022 | 1 /** @page buddyicon-signals Buddy Icon Signals |
2 | |
3 @signals | |
4 @signal buddy-icon-cached | |
5 @endsignals | |
6 | |
7 <hr> | |
8 | |
9 @signaldef buddy-icon-cached | |
10 @signalproto | |
11 void (*buddy-icon-cached)(GaimBuddyIcon *icon, GaimBuddy *buddy, const char *filename, const char *old_icon); | |
12 @endsignalproto | |
13 @signaldesc | |
14 Emitted when a buddy icon is cached. | |
15 @param icon The icon that was just cached. | |
16 @param buddy The buddy the icon belongs to. | |
17 @param filename The full filename for the newly created icon cache file. | |
18 @param old_icon The filename of the icon cache file for the buddy's previous icon, or @c NULL if the buddy | |
19 had no icon when this new icon was set. This filename is generally the full filename of the | |
20 previous icon cache file, but if the previous buddy icon was set in an old version of Gaim, | |
21 this may just be the basename of the icon cache file. The directory can be obtained with | |
22 gaim_buddy_icons_get_cache_dir(). | |
23 @endsignaldef | |
24 */ |