aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/compat_macros.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-01-31 12:13:23 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-01-31 12:13:23 +0000
commitd244cd82f545a78b2b4b04e962a3ad4f32480d58 (patch)
tree8c38f7339f3ed3511894d6d435e34d0d83bfe01d /gtk/compat_macros.h
parentd4857dc7060547a22e644221a6a20a3a85d9b2fd (diff)
cleanup of new "question dialogs",
using GTK2 primary/secondary message text from GNOME HIG for simple_dialogs, added a "question dialog" for the coloring rules "Clear" button svn path=/trunk/; revision=9921
Diffstat (limited to 'gtk/compat_macros.h')
-rw-r--r--gtk/compat_macros.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/compat_macros.h b/gtk/compat_macros.h
index 9c9e0deb9a..3dd6541b81 100644
--- a/gtk/compat_macros.h
+++ b/gtk/compat_macros.h
@@ -1,7 +1,7 @@
/* compat_macros.h
* GTK-related Global defines, etc.
*
- * $Id: compat_macros.h,v 1.12 2004/01/29 22:37:45 ulfl Exp $
+ * $Id: compat_macros.h,v 1.13 2004/01/31 12:13:22 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -136,6 +136,9 @@ dlg_radio_button_new_with_label_with_mnemonic( \
#define TOGGLE_BUTTON_NEW_WITH_MNEMONIC(label_text, accel_group) \
dlg_toggle_button_new_with_label_with_mnemonic(label_text, accel_group)
+#define PRIMARY_TEXT_START ""
+#define PRIMARY_TEXT_END ""
+
#else /* GTK_MAJOR_VERSION >= 2 */
#define SIGNAL_CONNECT(widget, name, callback, arg) \
@@ -220,6 +223,9 @@ gtk_radio_button_new_with_mnemonic_from_widget( \
#define TOGGLE_BUTTON_NEW_WITH_MNEMONIC(label_text, accel_group) \
gtk_toggle_button_new_with_mnemonic(label_text)
+#define PRIMARY_TEXT_START "<span weight=\"bold\" size=\"larger\">"
+#define PRIMARY_TEXT_END "</span>"
+
#endif /* GTK_MAJOR_VERSION */
#endif /* __COMPAT_MACROS_H__ */