comparison pidgin/pidgin.h @ 15514:535f002e7b0f

More pidgin changes
author Sean Egan <seanegan@gmail.com>
date Sat, 03 Feb 2007 19:08:27 +0000
parents
children 7ae72b7c02b1
comparison
equal deleted inserted replaced
15513:7a47740aefaa 15514:535f002e7b0f
1 /**
2 * @file pidgin.h UI definitions and includes
3 * @ingroup gtkui
4 *
5 * gaim
6 *
7 * Pidgin 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.
10 *
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 */
25 /* #warning ***pidgin*** */
26 #ifndef _PIDGINGAIM_H_
27 #define _PIDGINGAIM_H_
28
29 #ifndef _WIN32
30 # include <gdk/gdkx.h>
31 #endif
32
33 #include <gtk/gtk.h>
34
35 #ifdef _WIN32
36 # include "gtkwin32dep.h"
37 #endif
38
39 /**
40 * Our UI's identifier.
41 */
42 #define PIDGIN_UI "pidgin"
43
44 #ifndef _WIN32
45 # define GAIM_ALERT_TITLE ""
46 #else
47 # define GAIM_ALERT_TITLE PIDGIN_NAME
48 #endif
49
50 /*
51 * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x)
52 * It defines the new wrap behavior (unknown in earlier versions)
53 * as the old (slightly buggy) wrap behavior.
54 * It also includes our back-ported GtkExpander
55 */
56 /** @cond */
57 #if (!GTK_CHECK_VERSION(2,4,0))
58 #define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
59 #include "gtkexpander.h"
60 #endif
61 /** @endcond */
62
63 /*
64 * We include the sources for GtkComboBox and GtkCellView because
65 * they don't exist in older version of Gtk+, and we use them
66 * in a few places.
67 */
68 #if !GTK_CHECK_VERSION(2,6,0)
69 # include "gtkcellview.h"
70 # include "gtkcellviewmenuitem.h"
71 # if !GTK_CHECK_VERSION(2,4,0)
72 # include "gtkcelllayout.h"
73 # include "gaimcombobox.h"
74 # endif /* Gtk 2.4 */
75 #endif /* Gtk 2.6 */
76
77 /*
78 * Spacings between components, as defined by the
79 * GNOME Human Interface Guidelines.
80 */
81 #define GAIM_HIG_CAT_SPACE 18
82 #define GAIM_HIG_BORDER 12
83 #define GAIM_HIG_BOX_SPACE 6
84
85 /*
86 * See GNOME bug #307304 for some discussion about the invisible
87 * character. 0x25cf is a good choice, too.
88 */
89 #define GAIM_INVISIBLE_CHAR (gunichar)0x2022
90
91 #endif /* _PIDGINGAIM_H_ */
92