diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-02-12 22:24:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-02-12 22:24:28 +0000 |
commit | 90cf9a6b7b850a9ddd69baf1eb8535dde06a3510 (patch) | |
tree | bff8e905f0757abd0edb742830da25baaac19e01 /simple_dialog.h | |
parent | 26536d7a419e04261f04035b287a050889e77a98 (diff) | |
download | wireshark-90cf9a6b7b850a9ddd69baf1eb8535dde06a3510.tar.gz wireshark-90cf9a6b7b850a9ddd69baf1eb8535dde06a3510.tar.bz2 wireshark-90cf9a6b7b850a9ddd69baf1eb8535dde06a3510.zip |
The HIG's and/or GUI toolkit documentation for:
Mac OS X
GNOME
Qt
KDE
Windows
all indicate that {message,alert} boxes are modal, at least for the
window to which they apply. (Presumably the idea is that not forcing
the user to pay attention to the alert box, and allowing more than one
alert box to be up for a given window, causes more problems than not
letting the user do stuff to that window in order to figure out what the
underlying problem is or figure out what to do to fix it - the message
should be sufficient, in most if not all cases, to let you know what the
problem is.)
Make "simple_dialog()" unconditionally make the alert box modal, and get
rid of ESD_TYPE_MODAL. XXX - we need to make it possible to make an
alert box modal for a given window, rather than just the top-level
window.
svn path=/trunk/; revision=10051
Diffstat (limited to 'simple_dialog.h')
-rw-r--r-- | simple_dialog.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/simple_dialog.h b/simple_dialog.h index 3b44d5f6d9..e729aab654 100644 --- a/simple_dialog.h +++ b/simple_dialog.h @@ -2,7 +2,7 @@ * Definitions for alert box routines with toolkit-independent APIs but * toolkit-dependent implementations. * - * $Id: simple_dialog.h,v 1.10 2004/02/11 03:55:47 guy Exp $ + * $Id: simple_dialog.h,v 1.11 2004/02/12 22:24:27 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -47,10 +47,6 @@ extern "C" { #define ESD_TYPE_CONFIRMATION 0x02 #define ESD_TYPE_ERROR 0x03 -/* Flag to be ORed with the dialog type, to specify that the dialog is - to be modal. */ -#define ESD_TYPE_MODAL 0x10 - /* Which buttons to display. */ #define ESD_BTN_OK 0x01 #define ESD_BTN_CANCEL 0x02 |