pidgin/pidgin.h

Thu, 31 May 2012 00:36:55 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Thu, 31 May 2012 00:36:55 +0000
changeset 32993
d6da54acf528
parent 29496
8807ee3e55c5
child 33478
e6e3ac31f0b4
child 40859
2ff89178eb3d
permissions
-rw-r--r--

Remove _with_imgstore suffix on this function. There isn't a version
without it anyway.

9791
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
1 /**
15577
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
2 * @file pidgin.h UI definitions and includes
16254
eeb2bba4dc94 Rename the Doxygen group from gtkui to pidgin.
Richard Laager <rlaager@pidgin.im>
parents: 16126
diff changeset
3 * @ingroup pidgin
20330
650a7af9c238 remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@pidgin.im>
parents: 19859
diff changeset
4 */
650a7af9c238 remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@pidgin.im>
parents: 19859
diff changeset
5
650a7af9c238 remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@pidgin.im>
parents: 19859
diff changeset
6 /* pidgin
9791
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
7 *
15572
e069b22c1fc4 headers to pidgin
Sean Egan <seanegan@pidgin.im>
parents: 15562
diff changeset
8 * Pidgin is the legal property of its developers, whose names are too numerous
9791
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
9 * to list here. Please refer to the COPYRIGHT file distributed with this
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
10 * source distribution.
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
11 *
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
12 * This program is free software; you can redistribute it and/or modify
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
13 * it under the terms of the GNU General Public License as published by
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
14 * the Free Software Foundation; either version 2 of the License, or
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
15 * (at your option) any later version.
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
16 *
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
17 * This program is distributed in the hope that it will be useful,
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
20 * GNU General Public License for more details.
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
21 *
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
22 * You should have received a copy of the GNU General Public License
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
23 * along with this program; if not, write to the Free Software
19859
71d37b57eff2 The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19656
diff changeset
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
9791
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
25 */
15577
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
26 /* #warning ***pidgin*** */
15692
ecda27df58b9 Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents: 15619
diff changeset
27 #ifndef _PIDGIN_H_
ecda27df58b9 Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents: 15619
diff changeset
28 #define _PIDGIN_H_
9791
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
29
20360
4cfcbb5dbf5e Fix include ordering so GDK_WINDOWING_X11 is defined with older Gtk
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 20330
diff changeset
30 #include <gtk/gtk.h>
4cfcbb5dbf5e Fix include ordering so GDK_WINDOWING_X11 is defined with older Gtk
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 20330
diff changeset
31
19656
c7cdc9801b60 Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents: 17001
diff changeset
32 #ifdef GDK_WINDOWING_X11
9791
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
33 # include <gdk/gdkx.h>
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
34 #endif
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
35
14636
5306c329992c [gaim-migrate @ 17298]
Daniel Atallah <datallah@pidgin.im>
parents: 14411
diff changeset
36 #ifdef _WIN32
5306c329992c [gaim-migrate @ 17298]
Daniel Atallah <datallah@pidgin.im>
parents: 14411
diff changeset
37 # include "gtkwin32dep.h"
5306c329992c [gaim-migrate @ 17298]
Daniel Atallah <datallah@pidgin.im>
parents: 14411
diff changeset
38 #endif
5306c329992c [gaim-migrate @ 17298]
Daniel Atallah <datallah@pidgin.im>
parents: 14411
diff changeset
39
10400
5f11925078e5 [gaim-migrate @ 11631]
Sean Egan <seanegan@pidgin.im>
parents: 10062
diff changeset
40 /**
5f11925078e5 [gaim-migrate @ 11631]
Sean Egan <seanegan@pidgin.im>
parents: 10062
diff changeset
41 * Our UI's identifier.
5f11925078e5 [gaim-migrate @ 11631]
Sean Egan <seanegan@pidgin.im>
parents: 10062
diff changeset
42 */
16117
dbded756c05d Revert to internal UI name of gtk-gaim to preserve UI prefs on upgrade
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15931
diff changeset
43 /* leave this as gtk-gaim until we have a decent way to migrate UI-prefs */
dbded756c05d Revert to internal UI name of gtk-gaim to preserve UI prefs on upgrade
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15931
diff changeset
44 #define PIDGIN_UI "gtk-gaim"
10400
5f11925078e5 [gaim-migrate @ 11631]
Sean Egan <seanegan@pidgin.im>
parents: 10062
diff changeset
45
16123
8b98683319e7 Rename /purple/gtk preferences back to /gaim/gtk to allow for smooth upgrades
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 16117
diff changeset
46 /* change this only when we have a sane upgrade path for old prefs */
16478
19107605c565 Works for me! Renames prefs: /core to /purple, /gaim/gtk to /pidgin, /gaim/gnt to /finch
Sean Egan <seanegan@pidgin.im>
parents: 16254
diff changeset
47 #define PIDGIN_PREFS_ROOT "/pidgin"
16123
8b98683319e7 Rename /purple/gtk preferences back to /gaim/gtk to allow for smooth upgrades
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 16117
diff changeset
48
17001
09ceabd6b129 Clarify the comments on the names for translators.
Richard Laager <rlaager@pidgin.im>
parents: 16977
diff changeset
49 /* Translators may want to transliterate the name.
09ceabd6b129 Clarify the comments on the names for translators.
Richard Laager <rlaager@pidgin.im>
parents: 16977
diff changeset
50 It is not to be translated. */
16977
c9cb49bea66d Change the PIDGIN_NAME stuff to allow translators to transliterate the
Richard Laager <rlaager@pidgin.im>
parents: 16478
diff changeset
51 #define PIDGIN_NAME _("Pidgin")
c9cb49bea66d Change the PIDGIN_NAME stuff to allow translators to transliterate the
Richard Laager <rlaager@pidgin.im>
parents: 16478
diff changeset
52
9791
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
53 #ifndef _WIN32
15882
1dbd5756b7bf More Gaim to Pidgin stuff
Sean Egan <seanegan@pidgin.im>
parents: 15692
diff changeset
54 # define PIDGIN_ALERT_TITLE ""
9791
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
55 #else
15882
1dbd5756b7bf More Gaim to Pidgin stuff
Sean Egan <seanegan@pidgin.im>
parents: 15692
diff changeset
56 # define PIDGIN_ALERT_TITLE PIDGIN_NAME
9791
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
57 #endif
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
58
11149
c23b9fca59c5 [gaim-migrate @ 13228]
Gary Kramlich <grim@reaperworld.com>
parents: 11035
diff changeset
59 /*
11243
ee8dccc558e1 [gaim-migrate @ 13408]
Mads Chr. Olesen <mads@mchro.dk>
parents: 11149
diff changeset
60 * Spacings between components, as defined by the
12709
f7dffb4b1ac3 [gaim-migrate @ 15053]
Richard Laager <rlaager@pidgin.im>
parents: 12086
diff changeset
61 * GNOME Human Interface Guidelines.
11243
ee8dccc558e1 [gaim-migrate @ 13408]
Mads Chr. Olesen <mads@mchro.dk>
parents: 11149
diff changeset
62 */
15882
1dbd5756b7bf More Gaim to Pidgin stuff
Sean Egan <seanegan@pidgin.im>
parents: 15692
diff changeset
63 #define PIDGIN_HIG_CAT_SPACE 18
1dbd5756b7bf More Gaim to Pidgin stuff
Sean Egan <seanegan@pidgin.im>
parents: 15692
diff changeset
64 #define PIDGIN_HIG_BORDER 12
1dbd5756b7bf More Gaim to Pidgin stuff
Sean Egan <seanegan@pidgin.im>
parents: 15692
diff changeset
65 #define PIDGIN_HIG_BOX_SPACE 6
11243
ee8dccc558e1 [gaim-migrate @ 13408]
Mads Chr. Olesen <mads@mchro.dk>
parents: 11149
diff changeset
66
25459
7c92897f4b76 pidgin.h is a public header file. Therefore, we should continue to provide
Richard Laager <rlaager@pidgin.im>
parents: 25458
diff changeset
67 #if !GTK_CHECK_VERSION(2,16,0) || !defined(PIDGIN_DISABLE_DEPRECATED)
14411
6f8984a1ffd4 [gaim-migrate @ 17052]
Mark Doliner <markdoliner@pidgin.im>
parents: 14290
diff changeset
68 /*
25458
7d171bca934f Two minor cleanups to the message about the invisible character in pidgin.h.
Richard Laager <rlaager@pidgin.im>
parents: 25457
diff changeset
69 * Older versions of GNOME defaulted to using an asterisk as the invisible
25457
477f84ff0a7e GTK+ 2.16.0 will set the invisible character to a nice bullet instead of
Mark Doliner <markdoliner@pidgin.im>
parents: 20360
diff changeset
70 * character. But this is ugly and we want to use something nicer.
477f84ff0a7e GTK+ 2.16.0 will set the invisible character to a nice bullet instead of
Mark Doliner <markdoliner@pidgin.im>
parents: 20360
diff changeset
71 *
25458
7d171bca934f Two minor cleanups to the message about the invisible character in pidgin.h.
Richard Laager <rlaager@pidgin.im>
parents: 25457
diff changeset
72 * The default invisible character was changed in GNOME revision 21446
25457
477f84ff0a7e GTK+ 2.16.0 will set the invisible character to a nice bullet instead of
Mark Doliner <markdoliner@pidgin.im>
parents: 20360
diff changeset
73 * (GTK+ 2.16) from an asterisk to the first available character out of
477f84ff0a7e GTK+ 2.16.0 will set the invisible character to a nice bullet instead of
Mark Doliner <markdoliner@pidgin.im>
parents: 20360
diff changeset
74 * 0x25cf, 0x2022, 0x2731, 0x273a. See GNOME bugs 83935 and 307304 for
477f84ff0a7e GTK+ 2.16.0 will set the invisible character to a nice bullet instead of
Mark Doliner <markdoliner@pidgin.im>
parents: 20360
diff changeset
75 * discussion leading up to the change.
477f84ff0a7e GTK+ 2.16.0 will set the invisible character to a nice bullet instead of
Mark Doliner <markdoliner@pidgin.im>
parents: 20360
diff changeset
76 *
477f84ff0a7e GTK+ 2.16.0 will set the invisible character to a nice bullet instead of
Mark Doliner <markdoliner@pidgin.im>
parents: 20360
diff changeset
77 * Here's the change:
477f84ff0a7e GTK+ 2.16.0 will set the invisible character to a nice bullet instead of
Mark Doliner <markdoliner@pidgin.im>
parents: 20360
diff changeset
78 * http://svn.gnome.org/viewvc/gtk%2B?view=revision&revision=21446
477f84ff0a7e GTK+ 2.16.0 will set the invisible character to a nice bullet instead of
Mark Doliner <markdoliner@pidgin.im>
parents: 20360
diff changeset
79 *
14411
6f8984a1ffd4 [gaim-migrate @ 17052]
Mark Doliner <markdoliner@pidgin.im>
parents: 14290
diff changeset
80 */
25457
477f84ff0a7e GTK+ 2.16.0 will set the invisible character to a nice bullet instead of
Mark Doliner <markdoliner@pidgin.im>
parents: 20360
diff changeset
81 #define PIDGIN_INVISIBLE_CHAR (gunichar)0x25cf
477f84ff0a7e GTK+ 2.16.0 will set the invisible character to a nice bullet instead of
Mark Doliner <markdoliner@pidgin.im>
parents: 20360
diff changeset
82 #endif /* Less than GTK+ 2.16 */
11986
21d2ab6421a7 [gaim-migrate @ 14279]
Mark Doliner <markdoliner@pidgin.im>
parents: 11753
diff changeset
83
15692
ecda27df58b9 Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents: 15619
diff changeset
84 #endif /* _PIDGIN_H_ */
9791
f5c5bda0b96b [gaim-migrate @ 10659]
Gary Kramlich <grim@pidgin.im>
parents:
diff changeset
85

mercurial