pidgin.h

Go to the documentation of this file.
00001 
00025 /* #warning ***pidgin*** */
00026 #ifndef _PIDGIN_H_
00027 #define _PIDGIN_H_
00028 
00029 #ifndef _WIN32
00030 # include <gdk/gdkx.h>
00031 #endif
00032 
00033 #include <gtk/gtk.h>
00034 
00035 #ifdef _WIN32
00036 # include "gtkwin32dep.h"
00037 #endif
00038 
00042 /* leave this as gtk-gaim until we have a decent way to migrate UI-prefs */
00043 #define PIDGIN_UI "gtk-gaim"
00044 
00045 /* change this only when we have a sane upgrade path for old prefs */
00046 #define PIDGIN_PREFS_ROOT "/pidgin"
00047 
00048 /* Translators may want to transliterate the name.
00049  It is not to be translated. */
00050 #define PIDGIN_NAME _("Pidgin")
00051 
00052 #ifndef _WIN32
00053 # define PIDGIN_ALERT_TITLE ""
00054 #else
00055 # define PIDGIN_ALERT_TITLE PIDGIN_NAME
00056 #endif
00057 
00058 /*
00059  * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x)
00060  * It defines the new wrap behavior (unknown in earlier versions)
00061  * as the old (slightly buggy) wrap behavior.
00062  * It also includes our back-ported GtkExpander
00063  */
00065 #if (!GTK_CHECK_VERSION(2,4,0))
00066 # define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
00067 # include "gtkexpander.h"
00068 #endif
00069 
00071 /*
00072  * We include the sources for GtkComboBox and GtkCellView because
00073  * they don't exist in older versions of GTK+, and we use them
00074  * in a few places.
00075  */
00076 #if !GTK_CHECK_VERSION(2,6,0)
00077 #   include "gtkcellview.h"
00078 #   include "gtkcellviewmenuitem.h"
00079 #   include "pidgincombobox.h"
00080 #   if !GTK_CHECK_VERSION(2,4,0)
00081 #       include "gtkcelllayout.h"
00082 #   endif /* Less than GTK+ 2.4 */
00083 #endif /* Less than GTK+ 2.6 */
00084 
00085 /*
00086  * Spacings between components, as defined by the
00087  * GNOME Human Interface Guidelines.
00088  */
00089 #define PIDGIN_HIG_CAT_SPACE     18
00090 #define PIDGIN_HIG_BORDER        12
00091 #define PIDGIN_HIG_BOX_SPACE      6
00092 
00093 /*
00094  * See GNOME bug #307304 for some discussion about the invisible
00095  * character.  0x25cf is a good choice, too.
00096  */
00097 #define PIDGIN_INVISIBLE_CHAR (gunichar)0x2022
00098 
00099 #endif /* _PIDGIN_H_ */
00100