aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/simple_dialog.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-02-04 01:10:37 +0000
committerGuy Harris <guy@alum.mit.edu>2004-02-04 01:10:37 +0000
commit372e6b2da073be810f73de94199b3f76ae43bde9 (patch)
tree9242e757f7b8fbafe8750125074ce3817456837b /gtk/simple_dialog.c
parent78461c0180dee2336db99b91cfd126dfbb4ecff3 (diff)
Add some comments about the types of alert boxes you get with the
simple_dialog routines (which are really just message box/alert box routines). Add some macros for combinations of buttons (corresponding to combinations that some GUI toolkits, which only support some combinations, allow). svn path=/trunk/; revision=9977
Diffstat (limited to 'gtk/simple_dialog.c')
-rw-r--r--gtk/simple_dialog.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/simple_dialog.c b/gtk/simple_dialog.c
index 574979f1e6..ba3ca97ac6 100644
--- a/gtk/simple_dialog.c
+++ b/gtk/simple_dialog.c
@@ -1,13 +1,12 @@
/* simple_dialog.c
* Simple message dialog box routines.
*
- * $Id: simple_dialog.c,v 1.23 2004/02/03 17:59:01 ulfl Exp $
+ * $Id: simple_dialog.c,v 1.24 2004/02/04 01:10:37 guy Exp $
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
- *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@@ -150,7 +149,7 @@ simple_dialog(gint type, gint btn_mask, gchar *msg_format, ...) {
case(ESD_BTN_CLEAR | ESD_BTN_CANCEL):
bbox = dlg_button_row_new(GTK_STOCK_CLEAR, GTK_STOCK_CANCEL, NULL);
break;
- case(ESD_BTN_YES | ESD_BTN_NO | ESD_BTN_CANCEL):
+ case(ESD_BTNS_YES_NO_CANCEL):
bbox = dlg_button_row_new(GTK_STOCK_YES, GTK_STOCK_NO, GTK_STOCK_CANCEL, NULL);
break;
default: