Mercurial > pidgin
annotate src/gtkprivacy.h @ 10972:d5ce9d01f540
[gaim-migrate @ 12797]
sf patch #1213951, from Abdulla Kamar
Simple one liner, puts some space between the options
under "Tab Options" (vbox2) in "Interface >
Conversation" within the Preferences dialog
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 06 Jun 2005 02:19:03 +0000 |
parents | db62420a53a2 |
children | c0fbdea8828b |
rev | line source |
---|---|
6371 | 1 /** |
2 * @file gtkprivacy.h GTK+ Privacy UI | |
3 * @ingroup gtkui | |
4 * | |
5 * gaim | |
6 * | |
8046 | 7 * Gaim is the legal property of its developers, whose names are too numerous |
8 * to list here. Please refer to the COPYRIGHT file distributed with this | |
9 * source distribution. | |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
6371
diff
changeset
|
10 * |
6371 | 11 * This program is free software; you can redistribute it and/or modify |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
24 */ | |
9713 | 25 #ifndef _GAIM_GTKPRIVACY_H_ |
26 #define _GAIM_GTKPRIVACY_H_ | |
6371 | 27 |
28 #include "privacy.h" | |
29 | |
30 /** | |
31 * Initializes the GTK+ privacy subsystem. | |
32 */ | |
33 void gaim_gtk_privacy_init(void); | |
34 | |
35 /** | |
8938 | 36 * Determine if showing the privacy dialog is a valid action. |
37 * | |
38 * @return TRUE if there are accounts online that support privacy. | |
39 * Otherwise return FALSE. | |
40 */ | |
41 gboolean gaim_gtk_privacy_is_showable(void); | |
42 | |
43 /** | |
6371 | 44 * Shows the privacy dialog. |
45 */ | |
46 void gaim_gtk_privacy_dialog_show(void); | |
47 | |
48 /** | |
49 * Hides the privacy dialog. | |
50 */ | |
51 void gaim_gtk_privacy_dialog_hide(void); | |
52 | |
53 /** | |
54 * Requests confirmation to add a user to the allow list for an account, | |
55 * and then adds it. | |
56 * | |
57 * If @a name is not specified, an input dialog will be presented. | |
58 * | |
59 * @param account The account. | |
60 * @param name The name of the user to add. | |
61 */ | |
62 void gaim_gtk_request_add_permit(GaimAccount *account, const char *name); | |
63 | |
64 /** | |
65 * Requests confirmation to add a user to the block list for an account, | |
66 * and then adds it. | |
67 * | |
68 * If @a name is not specified, an input dialog will be presented. | |
69 * | |
70 * @param account The account. | |
71 * @param name The name of the user to add. | |
72 */ | |
73 void gaim_gtk_request_add_block(GaimAccount *account, const char *name); | |
74 | |
75 /** | |
76 * Returns the UI operations structure for the GTK+ privacy subsystem. | |
77 * | |
78 * @return The GTK+ UI privacy operations structure. | |
79 */ | |
80 GaimPrivacyUiOps *gaim_gtk_privacy_get_ui_ops(void); | |
81 | |
9713 | 82 #endif /* _GAIM_GTKPRIVACY_H_ */ |