annotate pidgin/pidgin.h @ 16010:eae8e127e4fb

make things cleaner for translators
author Nathan Walp <nwalp@pidgin.im>
date Sat, 07 Apr 2007 22:46:39 +0000
parents 66dff3dfdea6
children 605da11e8535 fccb6b33aba6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 /**
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
2 * @file pidgin.h UI definitions and includes
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
3 * @ingroup gtkui
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
4 *
15871
66dff3dfdea6 Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents: 15823
diff changeset
5 * pidgin
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
6 *
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
7 * Pidgin is the legal property of its developers, whose names are too numerous
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
8 * to list here. Please refer to the COPYRIGHT file distributed with this
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
9 * source distribution.
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
10 *
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
11 * This program is free software; you can redistribute it and/or modify
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
12 * it under the terms of the GNU General Public License as published by
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
13 * the Free Software Foundation; either version 2 of the License, or
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
14 * (at your option) any later version.
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
15 *
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
16 * This program is distributed in the hope that it will be useful,
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
19 * GNU General Public License for more details.
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
20 *
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
21 * You should have received a copy of the GNU General Public License
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
22 * along with this program; if not, write to the Free Software
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
24 */
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
25 /* #warning ***pidgin*** */
15632
a830f9756f23 Some more pidgininfication
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15539
diff changeset
26 #ifndef _PIDGIN_H_
a830f9756f23 Some more pidgininfication
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15539
diff changeset
27 #define _PIDGIN_H_
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
28
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
29 #ifndef _WIN32
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
30 # include <gdk/gdkx.h>
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
31 #endif
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
32
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
33 #include <gtk/gtk.h>
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
34
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
35 #ifdef _WIN32
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
36 # include "gtkwin32dep.h"
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
37 #endif
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
38
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
39 /**
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
40 * Our UI's identifier.
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
41 */
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
42 #define PIDGIN_UI "pidgin"
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
43
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
44 #ifndef _WIN32
15821
cebfc6af3eb5 More Gaim to Pidgin stuff
Sean Egan <seanegan@gmail.com>
parents: 15632
diff changeset
45 # define PIDGIN_ALERT_TITLE ""
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
46 #else
15821
cebfc6af3eb5 More Gaim to Pidgin stuff
Sean Egan <seanegan@gmail.com>
parents: 15632
diff changeset
47 # define PIDGIN_ALERT_TITLE PIDGIN_NAME
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
48 #endif
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
49
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
50 /*
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
51 * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x)
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
52 * It defines the new wrap behavior (unknown in earlier versions)
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
53 * as the old (slightly buggy) wrap behavior.
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
54 * It also includes our back-ported GtkExpander
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
55 */
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
56 /** @cond */
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
57 #if (!GTK_CHECK_VERSION(2,4,0))
15539
7ae72b7c02b1 sf patch #1640011, from Celso Pinto
Mark Doliner <mark@kingant.net>
parents: 15514
diff changeset
58 # define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
7ae72b7c02b1 sf patch #1640011, from Celso Pinto
Mark Doliner <mark@kingant.net>
parents: 15514
diff changeset
59 # include "gtkexpander.h"
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
60 #endif
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
61 /** @endcond */
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
62
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
63 /*
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
64 * We include the sources for GtkComboBox and GtkCellView because
15539
7ae72b7c02b1 sf patch #1640011, from Celso Pinto
Mark Doliner <mark@kingant.net>
parents: 15514
diff changeset
65 * they don't exist in older versions of GTK+, and we use them
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
66 * in a few places.
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
67 */
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
68 #if !GTK_CHECK_VERSION(2,6,0)
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
69 # include "gtkcellview.h"
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
70 # include "gtkcellviewmenuitem.h"
15823
32c366eeeb99 sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@gmail.com>
parents: 15821
diff changeset
71 # include "purplecombobox.h"
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
72 # if !GTK_CHECK_VERSION(2,4,0)
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
73 # include "gtkcelllayout.h"
15539
7ae72b7c02b1 sf patch #1640011, from Celso Pinto
Mark Doliner <mark@kingant.net>
parents: 15514
diff changeset
74 # endif /* Less than GTK+ 2.4 */
7ae72b7c02b1 sf patch #1640011, from Celso Pinto
Mark Doliner <mark@kingant.net>
parents: 15514
diff changeset
75 #endif /* Less than GTK+ 2.6 */
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
76
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
77 /*
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
78 * Spacings between components, as defined by the
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
79 * GNOME Human Interface Guidelines.
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
80 */
15821
cebfc6af3eb5 More Gaim to Pidgin stuff
Sean Egan <seanegan@gmail.com>
parents: 15632
diff changeset
81 #define PIDGIN_HIG_CAT_SPACE 18
cebfc6af3eb5 More Gaim to Pidgin stuff
Sean Egan <seanegan@gmail.com>
parents: 15632
diff changeset
82 #define PIDGIN_HIG_BORDER 12
cebfc6af3eb5 More Gaim to Pidgin stuff
Sean Egan <seanegan@gmail.com>
parents: 15632
diff changeset
83 #define PIDGIN_HIG_BOX_SPACE 6
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
84
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
85 /*
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
86 * See GNOME bug #307304 for some discussion about the invisible
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
87 * character. 0x25cf is a good choice, too.
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
88 */
15821
cebfc6af3eb5 More Gaim to Pidgin stuff
Sean Egan <seanegan@gmail.com>
parents: 15632
diff changeset
89 #define PIDGIN_INVISIBLE_CHAR (gunichar)0x2022
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
90
15632
a830f9756f23 Some more pidgininfication
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15539
diff changeset
91 #endif /* _PIDGIN_H_ */
15514
535f002e7b0f More pidgin changes
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
92