aboutsummaryrefslogtreecommitdiffstats
path: root/simple_dialog.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 /simple_dialog.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 'simple_dialog.h')
-rw-r--r--simple_dialog.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/simple_dialog.h b/simple_dialog.h
index f3834222e9..b37a44a558 100644
--- a/simple_dialog.h
+++ b/simple_dialog.h
@@ -2,7 +2,7 @@
* Definitions for dialog box routines with toolkit-independent APIs but
* toolkit-dependent implementations.
*
- * $Id: simple_dialog.h,v 1.6 2004/01/31 02:25:43 ulfl Exp $
+ * $Id: simple_dialog.h,v 1.7 2004/01/31 12:13:21 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -32,10 +32,10 @@ extern "C" {
#endif /* __cplusplus */
/* Dialog type. */
-#define ESD_TYPE_INFO 0x00
-#define ESD_TYPE_WARN 0x01
-#define ESD_TYPE_ERROR 0x02
-#define ESD_TYPE_QUEST 0x03
+#define ESD_TYPE_INFO 0x00
+#define ESD_TYPE_WARN 0x01
+#define ESD_TYPE_QUESTION 0x02
+#define ESD_TYPE_ERROR 0x03
/* Flag to be ORed with the dialog type, to specify that the dialog is
to be modal. */
@@ -46,6 +46,7 @@ extern "C" {
#define ESD_BTN_CANCEL 0x02
#define ESD_BTN_YES 0x04
#define ESD_BTN_NO 0x08
+#define ESD_BTN_CLEAR 0x10
/* show a simple dialog */
#if __GNUC__ >= 2