summaryrefslogtreecommitdiff
path: root/ui/simple_dialog.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-07-17 04:52:19 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-07-17 04:52:19 +0000
commite0341f776c6d5d540013175e79b0000aa480b54d (patch)
treeffe9491cf297fac02ff382fa87c7351157166e18 /ui/simple_dialog.h
parent97ca7816718cb7e22b4c8d03b40fae63459eaaf7 (diff)
downloadwireshark-e0341f776c6d5d540013175e79b0000aa480b54d.tar.gz
From Cal Turney:
Unrecognized preferences and color filters created in proprietary or older versions are discarded when saved. If the user attempts to save the preferences or colorfilters file, a popup is displayed that warns that unrecognized prefs or color filters have been detected and will be discarded if the save operation is allowed to proceed. In the case of Preferences, the popup message includes the version at which the file was last saved. A "Continue without Saving" button is provided so that the user can save the profile under a different name. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8942 svn path=/trunk/; revision=50690
Diffstat (limited to 'ui/simple_dialog.h')
-rw-r--r--ui/simple_dialog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/simple_dialog.h b/ui/simple_dialog.h
index 377b49a716..77692339f6 100644
--- a/ui/simple_dialog.h
+++ b/ui/simple_dialog.h
@@ -73,6 +73,7 @@ typedef enum {
/** Standard button combination "Yes" + "No" + "Cancel". */
#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 (ESD_BTN_SAVE|ESD_BTN_DONT_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)