aboutsummaryrefslogtreecommitdiffstats
path: root/simple_dialog.h
diff options
context:
space:
mode:
authorrbalint <rbalint@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-27 02:42:43 +0000
committerrbalint <rbalint@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-27 02:42:43 +0000
commitabd394c44f66fd097d0f7be58554af4500516938 (patch)
treef915a0106a7f087de275dfe1a5b50906fcdf2530 /simple_dialog.h
parent0bce791b66fbca7753029ccfda3b530df78bb5e3 (diff)
Change button label to "Quit without Saving" from "Continue without Saving"
when exiting Wireshark and having an open, not yet saved capture file. This fixes bug 1427. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28502 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'simple_dialog.h')
-rw-r--r--simple_dialog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/simple_dialog.h b/simple_dialog.h
index 5dc657e145..bf3a68f0de 100644
--- a/simple_dialog.h
+++ b/simple_dialog.h
@@ -63,6 +63,8 @@ typedef enum {
#define ESD_BTN_SAVE 0x20
/** display a "Continue without Saving" button */
#define ESD_BTN_DONT_SAVE 0x40
+/** display a "Quit without Saving" button */
+#define ESD_BTN_QUIT_DONT_SAVE 0x80
/** Standard button combination "Ok" + "Cancel". */
#define ESD_BTNS_OK_CANCEL (ESD_BTN_OK|ESD_BTN_CANCEL)
@@ -72,6 +74,8 @@ typedef enum {
#define ESD_BTNS_YES_NO_CANCEL (ESD_BTN_YES|ESD_BTN_NO|ESD_BTN_CANCEL)
/** Standard button combination "No" + "Cancel" + "Save". */
#define ESD_BTNS_SAVE_DONTSAVE_CANCEL (ESD_BTN_DONT_SAVE|ESD_BTN_CANCEL|ESD_BTN_SAVE)
+/** Standard button combination "Quit without saving" + "Cancel" + "Save". */
+#define ESD_BTNS_SAVE_QUIT_DONTSAVE_CANCEL (ESD_BTN_QUIT_DONT_SAVE|ESD_BTN_CANCEL|ESD_BTN_SAVE)
#if __GNUC__ >= 2
/** Create and show a simple dialog.