| 55 #else |
55 #else |
| 56 # define PIDGIN_ALERT_TITLE PIDGIN_NAME |
56 # define PIDGIN_ALERT_TITLE PIDGIN_NAME |
| 57 #endif |
57 #endif |
| 58 |
58 |
| 59 /* |
59 /* |
| 60 * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x) |
|
| 61 * It defines the new wrap behavior (unknown in earlier versions) |
|
| 62 * as the old (slightly buggy) wrap behavior. |
|
| 63 * It also includes our back-ported GtkExpander |
|
| 64 */ |
|
| 65 /** @cond */ |
|
| 66 #if (!GTK_CHECK_VERSION(2,4,0)) |
|
| 67 # define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD |
|
| 68 # include "gtkexpander.h" |
|
| 69 #endif |
|
| 70 /** @endcond */ |
|
| 71 |
|
| 72 /* |
|
| 73 * We include the sources for GtkComboBox and GtkCellView because |
|
| 74 * they don't exist in older versions of GTK+, and we use them |
|
| 75 * in a few places. |
|
| 76 */ |
|
| 77 #if !GTK_CHECK_VERSION(2,6,0) |
|
| 78 # include "gtkcellview.h" |
|
| 79 # include "gtkcellviewmenuitem.h" |
|
| 80 # include "pidgincombobox.h" |
|
| 81 # if !GTK_CHECK_VERSION(2,4,0) |
|
| 82 # include "gtkcelllayout.h" |
|
| 83 # endif /* Less than GTK+ 2.4 */ |
|
| 84 #endif /* Less than GTK+ 2.6 */ |
|
| 85 |
|
| 86 /* |
|
| 87 * Spacings between components, as defined by the |
60 * Spacings between components, as defined by the |
| 88 * GNOME Human Interface Guidelines. |
61 * GNOME Human Interface Guidelines. |
| 89 */ |
62 */ |
| 90 #define PIDGIN_HIG_CAT_SPACE 18 |
63 #define PIDGIN_HIG_CAT_SPACE 18 |
| 91 #define PIDGIN_HIG_BORDER 12 |
64 #define PIDGIN_HIG_BORDER 12 |