diff options
author | Balint Reczey <balint.reczey@ericsson.com> | 2009-05-27 02:42:43 +0000 |
---|---|---|
committer | Balint Reczey <balint.reczey@ericsson.com> | 2009-05-27 02:42:43 +0000 |
commit | 422b347862be649ccbe4c3348216b668674064e3 (patch) | |
tree | f915a0106a7f087de275dfe1a5b50906fcdf2530 /simple_dialog.h | |
parent | 8983d6813ba797cd552dd1a7cb3aab88839f74a6 (diff) | |
download | wireshark-422b347862be649ccbe4c3348216b668674064e3.tar.gz wireshark-422b347862be649ccbe4c3348216b668674064e3.tar.bz2 wireshark-422b347862be649ccbe4c3348216b668674064e3.zip |
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.
svn path=/trunk/; revision=28502
Diffstat (limited to 'simple_dialog.h')
-rw-r--r-- | simple_dialog.h | 4 |
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. |