pidgin  2.14.13dev
pidgin.h
Go to the documentation of this file.
1 
6 /* pidgin
7  *
8  * Pidgin is the legal property of its developers, whose names are too numerous
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
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25  */
26 /* #warning ***pidgin*** */
27 #ifndef _PIDGIN_H_
28 #define _PIDGIN_H_
29 
30 #include <gtk/gtk.h>
31 
32 #ifdef GDK_WINDOWING_X11
33 # include <gdk/gdkx.h>
34 #endif
35 
36 #ifdef _WIN32
37 # include "win32/gtkwin32dep.h"
38 #endif
39 
43 /* leave this as gtk-gaim until we have a decent way to migrate UI-prefs */
44 #define PIDGIN_UI "gtk-gaim"
45 
46 /* change this only when we have a sane upgrade path for old prefs */
47 #define PIDGIN_PREFS_ROOT "/pidgin"
48 
49 /* Translators may want to transliterate the name.
50  It is not to be translated. */
51 #define PIDGIN_NAME _("Pidgin")
52 
53 #ifndef _WIN32
54 # define PIDGIN_ALERT_TITLE ""
55 #else
56 # define PIDGIN_ALERT_TITLE PIDGIN_NAME
57 #endif
58 
59 /*
60  * Spacings between components, as defined by the
61  * GNOME Human Interface Guidelines.
62  */
63 #define PIDGIN_HIG_CAT_SPACE 18
64 #define PIDGIN_HIG_BORDER 12
65 #define PIDGIN_HIG_BOX_SPACE 6
66 
67 #if !GTK_CHECK_VERSION(2,16,0) || !defined(PIDGIN_DISABLE_DEPRECATED)
68 /*
69  * Older versions of GNOME defaulted to using an asterisk as the invisible
70  * character. But this is ugly and we want to use something nicer.
71  *
72  * The default invisible character was changed in GNOME revision 21446
73  * (GTK+ 2.16) from an asterisk to the first available character out of
74  * 0x25cf, 0x2022, 0x2731, 0x273a. See GNOME bugs 83935 and 307304 for
75  * discussion leading up to the change.
76  *
77  * Here's the change:
78  * http://svn.gnome.org/viewvc/gtk%2B?view=revision&revision=21446
79  *
80  */
81 #define PIDGIN_INVISIBLE_CHAR (gunichar)0x25cf
82 #endif /* Less than GTK+ 2.16 */
83 
84 #endif /* _PIDGIN_H_ */
85