Mercurial > pidgin.yaz
annotate finch/gntpounce.h @ 30720:8c586dbcae2d
Since a buddy's avatar information is distributed as part of their online
presence information, if they have changed their avatar while we were
offline (and they're now offline) we won't see the change until we're both
online at the same time.
So when the user requests to view a buddy's profile, we now also request
their current AvatarId - if it is different to what Pidgin has cached, we
request the new image.
Move buddy's avatar processing out of mxit_update_buddy_presence() and into
new function mxit_update_buddy_avatar(). The buddy avatar updating is
called when we receive a buddy's presence update or when we request the
buddies profile.
author | andrew.victor@mxit.com |
---|---|
date | Tue, 20 Jul 2010 09:46:28 +0000 |
parents | 6bf32c9e15a7 |
children |
rev | line source |
---|---|
15818 | 1 /** |
2 * @file gntpounce.h GNT Buddy Pounce API | |
16194
0f0832c13fcb
Rename the Doxygen group from gntui to finch and define the finch group
Richard Laager <rlaager@wiktel.com>
parents:
15871
diff
changeset
|
3 * @ingroup finch |
20074
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19680
diff
changeset
|
4 */ |
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19680
diff
changeset
|
5 |
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19680
diff
changeset
|
6 /* finch |
15818 | 7 * |
15871
66dff3dfdea6
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents:
15823
diff
changeset
|
8 * Finch is the legal property of its developers, whose names are too numerous |
15818 | 9 * to list here. Please refer to the COPYRIGHT file distributed with this |
10 * source distribution. | |
11 * | |
12 * This program is free software; you can redistribute it and/or modify | |
13 * it under the terms of the GNU General Public License as published by | |
14 * the Free Software Foundation; either version 2 of the License, or | |
15 * (at your option) any later version. | |
16 * | |
17 * This program is distributed in the hope that it will be useful, | |
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 * GNU General Public License for more details. | |
21 * | |
22 * You should have received a copy of the GNU General Public License | |
23 * along with this program; if not, write to the Free Software | |
19680
44b4e8bd759b
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
16194
diff
changeset
|
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
15818 | 25 */ |
15823 | 26 #ifndef _FINCHPOUNCE_H_ |
27 #define _FINCHPOUNCE_H_ | |
15818 | 28 |
29 #include "pounce.h" | |
30 | |
31 /** | |
32 * Displays a New Buddy Pounce or Edit Buddy Pounce dialog. | |
33 * | |
34 * @param account The optional account to use. | |
35 * @param name The optional name to pounce on. | |
36 * @param cur_pounce The current buddy pounce, if editing an existing one. | |
37 */ | |
15823 | 38 void finch_pounce_editor_show(PurpleAccount *account, const char *name, |
39 PurplePounce *cur_pounce); | |
15818 | 40 |
41 /** | |
42 * Shows the pounces manager window. | |
43 */ | |
44 void finch_pounces_manager_show(void); | |
45 | |
46 /** | |
47 * Hides the pounces manager window. | |
48 */ | |
49 void finch_pounces_manager_hide(void); | |
50 | |
51 /** | |
52 * Returns the gtkpounces handle | |
53 * | |
54 * @return The handle to the GTK+ pounces system | |
55 */ | |
56 void *finch_pounces_get_handle(void); | |
57 | |
58 /** | |
59 * Initializes the GNT pounces subsystem. | |
60 */ | |
61 void finch_pounces_init(void); | |
62 | |
63 /** | |
64 * Uninitializes the GNT pounces subsystem. | |
65 */ | |
66 void finch_pounces_uninit(void); | |
67 | |
15823 | 68 #endif /* _PURPLE_GTKPOUNCE_H_ */ |