Mercurial > pidgin.yaz
annotate pidgin/pidgin.h @ 15925:f8c16848b76d
Allow selecting multiple files from the file-select dialog.
You need to tag the files by pressing 't' to select the files. It is possible
to tag files from different locations, ie. when you change the directory, the
tags are remembered. You can untag a selection by pressing 't' again. To untag
all selections, press 'c'.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 26 Mar 2007 01:19:59 +0000 |
parents | 66dff3dfdea6 |
children | 605da11e8535 fccb6b33aba6 |
rev | line source |
---|---|
15514 | 1 /** |
2 * @file pidgin.h UI definitions and includes | |
3 * @ingroup gtkui | |
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 | 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*** */ | |
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 | 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 | |
15821 | 45 # define PIDGIN_ALERT_TITLE "" |
15514 | 46 #else |
15821 | 47 # define PIDGIN_ALERT_TITLE PIDGIN_NAME |
15514 | 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)) | |
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 | 60 #endif |
61 /** @endcond */ | |
62 | |
63 /* | |
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 | 66 * in a few places. |
67 */ | |
68 #if !GTK_CHECK_VERSION(2,6,0) | |
69 # include "gtkcellview.h" | |
70 # include "gtkcellviewmenuitem.h" | |
15823 | 71 # include "purplecombobox.h" |
15514 | 72 # if !GTK_CHECK_VERSION(2,4,0) |
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 | 76 |
77 /* | |
78 * Spacings between components, as defined by the | |
79 * GNOME Human Interface Guidelines. | |
80 */ | |
15821 | 81 #define PIDGIN_HIG_CAT_SPACE 18 |
82 #define PIDGIN_HIG_BORDER 12 | |
83 #define PIDGIN_HIG_BOX_SPACE 6 | |
15514 | 84 |
85 /* | |
86 * See GNOME bug #307304 for some discussion about the invisible | |
87 * character. 0x25cf is a good choice, too. | |
88 */ | |
15821 | 89 #define PIDGIN_INVISIBLE_CHAR (gunichar)0x2022 |
15514 | 90 |
15632
a830f9756f23
Some more pidgininfication
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15539
diff
changeset
|
91 #endif /* _PIDGIN_H_ */ |
15514 | 92 |