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  * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x)
00061  * It defines the new wrap behavior (unknown in earlier versions)
00062  * as the old (slightly buggy) wrap behavior.
00063  * It also includes our back-ported GtkExpander
00064  */
00066 #if (!GTK_CHECK_VERSION(2,4,0))
00067 # define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
00068 # include "gtkexpander.h"
00069 #endif
00070 
00072 /*
00073  * We include the sources for GtkComboBox and GtkCellView because
00074  * they don't exist in older versions of GTK+, and we use them
00075  * in a few places.
00076  */
00077 #if !GTK_CHECK_VERSION(2,6,0)
00078 #   include "gtkcellview.h"
00079 #   include "gtkcellviewmenuitem.h"
00080 #   include "pidgincombobox.h"
00081 #   if !GTK_CHECK_VERSION(2,4,0)
00082 #       include "gtkcelllayout.h"
00083 #   endif /* Less than GTK+ 2.4 */
00084 #endif /* Less than GTK+ 2.6 */
00085 
00086 /*
00087  * Spacings between components, as defined by the
00088  * GNOME Human Interface Guidelines.
00089  */
00090 #define PIDGIN_HIG_CAT_SPACE     18
00091 #define PIDGIN_HIG_BORDER        12
00092 #define PIDGIN_HIG_BOX_SPACE      6
00093 
00094 /*
00095  * See GNOME bug #307304 for some discussion about the invisible
00096  * character.  0x25cf is a good choice, too.
00097  */
00098 #define PIDGIN_INVISIBLE_CHAR (gunichar)0x2022
00099 
00100 #endif /* _PIDGIN_H_ */
00101 

Generated on Wed Mar 25 12:20:07 2009 for pidgin by  doxygen 1.5.5