comparison gtk/gtkgaim.h @ 14191:009db0b357b5

This is a hand-crafted commit to migrate across subversion revisions 16854:16861, due to some vagaries of the way the original renames were done. Witness that monotone can do in one revision what svn had to spread across several.
author Ethan Blanton <elb@pidgin.im>
date Sat, 16 Dec 2006 04:59:55 +0000
parents
children c18bdf510325
comparison
equal deleted inserted replaced
14190:366be2ce35a7 14191:009db0b357b5
1 /**
2 * @file gtkgaim.h UI definitions and includes
3 * @ingroup gtkui
4 *
5 * gaim
6 *
7 * Gaim 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 ***gtkgaim***
26 #ifndef _GAIM_GTKGAIM_H_
27 #define _GAIM_GTKGAIM_H_
28
29 #ifndef _WIN32
30 # include <gdk/gdkx.h>
31 #endif
32
33 #include <gtk/gtk.h>
34
35 /**
36 * Our UI's identifier.
37 */
38 #define GAIM_GTK_UI "gtk-gaim"
39
40 #ifndef _WIN32
41 # define GAIM_ALERT_TITLE ""
42 #else
43 # define GAIM_ALERT_TITLE "Gaim"
44 #endif
45
46 /*
47 * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x)
48 * It defines the new wrap behavior (unknown in earlier versions)
49 * as the old (slightly buggy) wrap behavior.
50 * It also includes our back-ported GtkExpander
51 */
52 /** @cond */
53 #if (!GTK_CHECK_VERSION(2,4,0))
54 #define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
55 #include "gtkexpander.h"
56 #endif
57 /** @endcond */
58
59 /*
60 * We include the sources for GtkComboBox and GtkCellView because
61 * they don't exist in older version of Gtk+, and we use them
62 * in a few places.
63 */
64 #if !GTK_CHECK_VERSION(2,6,0)
65 # include "gtkcellview.h"
66 # include "gtkcellviewmenuitem.h"
67 # if !GTK_CHECK_VERSION(2,4,0)
68 # include "gtkcelllayout.h"
69 # include "gtkcombobox.h"
70 # endif /* Gtk 2.4 */
71 #endif /* Gtk 2.6 */
72
73 /*
74 * Spacings between components, as defined by the
75 * GNOME Human Interface Guidelines.
76 */
77 #define GAIM_HIG_CAT_SPACE 18
78 #define GAIM_HIG_BORDER 12
79 #define GAIM_HIG_BOX_SPACE 6
80
81 #define GAIM_INVISIBLE_CHAR (gunichar)0x25cf
82
83 #endif /* _GAIM_GTKGAIM_H_ */
84