pidgin.h

Go to the documentation of this file.
00001 
00006 /* pidgin
00007  *
00008  * Pidgin is the legal property of its developers, whose names are too numerous
00009  * to list here.  Please refer to the COPYRIGHT file distributed with this
00010  * source distribution.
00011  *
00012  * This program is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; either version 2 of the License, or
00015  * (at your option) any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License
00023  * along with this program; if not, write to the Free Software
00024  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
00025  */
00026 /* #warning ***pidgin*** */
00027 #ifndef _PIDGIN_H_
00028 #define _PIDGIN_H_
00029 
00030 #include <gtk/gtk.h>
00031 
00032 #ifdef GDK_WINDOWING_X11
00033 # include <gdk/gdkx.h>
00034 #endif
00035 
00036 #ifdef _WIN32
00037 # include "gtkwin32dep.h"
00038 #endif
00039 
00043 /* leave this as gtk-gaim until we have a decent way to migrate UI-prefs */
00044 #define PIDGIN_UI "gtk-gaim"
00045 
00046 /* change this only when we have a sane upgrade path for old prefs */
00047 #define PIDGIN_PREFS_ROOT "/pidgin"
00048 
00049 /* Translators may want to transliterate the name.
00050  It is not to be translated. */
00051 #define PIDGIN_NAME _("Pidgin")
00052 
00053 #ifndef _WIN32
00054 # define PIDGIN_ALERT_TITLE ""
00055 #else
00056 # define PIDGIN_ALERT_TITLE PIDGIN_NAME
00057 #endif
00058 
00059 /*
00060  * Spacings between components, as defined by the
00061  * GNOME Human Interface Guidelines.
00062  */
00063 #define PIDGIN_HIG_CAT_SPACE     18
00064 #define PIDGIN_HIG_BORDER        12
00065 #define PIDGIN_HIG_BOX_SPACE      6
00066 
00067 #if !GTK_CHECK_VERSION(2,16,0) || !defined(PIDGIN_DISABLE_DEPRECATED)
00068 /*
00069  * Older versions of GNOME defaulted to using an asterisk as the invisible
00070  * character.  But this is ugly and we want to use something nicer.
00071  *
00072  * The default invisible character was changed in GNOME revision 21446
00073  * (GTK+ 2.16) from an asterisk to the first available character out of
00074  * 0x25cf, 0x2022, 0x2731, 0x273a.  See GNOME bugs 83935 and 307304 for
00075  * discussion leading up to the change.
00076  *
00077  * Here's the change:
00078  * http://svn.gnome.org/viewvc/gtk%2B?view=revision&revision=21446
00079  *
00080  */
00081 #define PIDGIN_INVISIBLE_CHAR (gunichar)0x25cf
00082 #endif /* Less than GTK+ 2.16 */
00083 
00084 #endif /* _PIDGIN_H_ */
00085