Mercurial > pidgin.yaz
annotate finch/gntaccount.h @ 28655:c9d3bda6ef81
Fix some problems adding "stuff" to oscar buddy lists, where "stuff" is
often buddies to block, but can also be buddies to allow or maybe
your privacy setting. I imagine this eliminates some "unable to add buddy"
errors.
Apparently I discovered this idiosyncrasy on 2007-04-23 and fixed it for
icon items in 5ee6fd5ddac3a8e8920941dee8be3ae5a615c105, but for some
reason I didn't fix it for any other types of items.
I'm also making this loop a bit less heavy handed... it used to require
that new items had an itemID greater than every other item. Now it just
makes sure the itemID is not equal the itemID and not equal to the groupID
of any other item.
Let it be known that the best way for me to fix blocking is to have people
I don't want to talk to IM me.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 24 Sep 2009 01:50:02 +0000 |
parents | acf284962b40 |
children | 02a2e8183b1d |
rev | line source |
---|---|
15818 | 1 /** |
2 * @file gntaccount.h GNT Account 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:
19944
diff
changeset
|
4 */ |
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19944
diff
changeset
|
5 |
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19944
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 */ |
26 #ifndef _GNT_ACCOUNT_H | |
27 #define _GNT_ACCOUNT_H | |
28 | |
29 #include "account.h" | |
30 | |
31 /********************************************************************** | |
32 * @name GNT Account API | |
33 **********************************************************************/ | |
34 /*@{*/ | |
35 | |
36 /** | |
37 * Get the ui-functions. | |
38 * | |
15823 | 39 * @return The PurpleAccountUiOps structure populated with the appropriate functions. |
15818 | 40 */ |
15823 | 41 PurpleAccountUiOps *finch_accounts_get_ui_ops(void); |
15818 | 42 |
43 /** | |
44 * Perform necessary initializations. | |
45 */ | |
46 void finch_accounts_init(void); | |
47 | |
48 /** | |
49 * Perform necessary uninitializations. | |
50 */ | |
51 void finch_accounts_uninit(void); | |
52 | |
53 /** | |
54 * Show the account-manager dialog. | |
55 */ | |
56 void finch_accounts_show_all(void); | |
57 | |
19944
41cad24fd6df
Instead of just notifying the user about a connection error, give him options
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
19680
diff
changeset
|
58 /** |
41cad24fd6df
Instead of just notifying the user about a connection error, give him options
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
19680
diff
changeset
|
59 * Show the edit dialog for an account. |
41cad24fd6df
Instead of just notifying the user about a connection error, give him options
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
19680
diff
changeset
|
60 * |
41cad24fd6df
Instead of just notifying the user about a connection error, give him options
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
19680
diff
changeset
|
61 * @param account The account to edit, or @c NULL to create a new account. |
20874
acf284962b40
Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
20074
diff
changeset
|
62 * |
acf284962b40
Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
20074
diff
changeset
|
63 * @since 2.2.0 |
19944
41cad24fd6df
Instead of just notifying the user about a connection error, give him options
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
19680
diff
changeset
|
64 */ |
41cad24fd6df
Instead of just notifying the user about a connection error, give him options
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
19680
diff
changeset
|
65 void finch_account_dialog_show(PurpleAccount *account); |
41cad24fd6df
Instead of just notifying the user about a connection error, give him options
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
19680
diff
changeset
|
66 |
15818 | 67 /*@}*/ |
68 | |
69 #endif |