annotate src/gtkgaim.h @ 10753:b40a67d45dbb

[gaim-migrate @ 12356] The Stu pointed out that this is wrong committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 27 Mar 2005 18:05:52 +0000
parents 6a043ae92db6
children 11e465b55fe6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
1 /**
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
2 * @file gtkgaim.h UI definitions and includes
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
3 * @ingroup gtkui
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
4 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
5 * gaim
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
6 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
7 * Gaim is the legal property of its developers, whose names are too numerous
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
8 * to list here. Please refer to the COPYRIGHT file distributed with this
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
9 * source distribution.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
10 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
11 * This program is free software; you can redistribute it and/or modify
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
12 * it under the terms of the GNU General Public License as published by
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
13 * the Free Software Foundation; either version 2 of the License, or
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
14 * (at your option) any later version.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
15 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
16 * This program is distributed in the hope that it will be useful,
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
19 * GNU General Public License for more details.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
20 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
21 * You should have received a copy of the GNU General Public License
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
22 * along with this program; if not, write to the Free Software
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
24 */
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
25 #ifndef _GAIM_GTKGAIM_H_
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
26 #define _GAIM_GTKGAIM_H_
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
27
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
28 #ifndef _WIN32
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
29 # include <gdk/gdkx.h>
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
30 #endif
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
31
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
32 #include <gtk/gtk.h>
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
33
10400
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
34 /**
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
35 * Our UI's identifier.
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
36 */
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
37 #define GAIM_GTK_UI "gtk-gaim"
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
38
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
39 #ifndef _WIN32
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
40 # define GAIM_ALERT_TITLE ""
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
41 #else
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
42 # define GAIM_ALERT_TITLE "Gaim"
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
43 #endif
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
44
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
45 /*
10062
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
46 * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x)
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
47 * It defines the new wrap behavior (unknown in earlier versions)
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
48 * as the old (slightly buggy) wrap behavior.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
49 */
10062
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
50 #if (!GTK_CHECK_VERSION(2,4,0))
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
51 #define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
52 #endif
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
53
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
54
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
55 #endif /* _GAIM_GTKGAIM_H_ */
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
56