summaryrefslogtreecommitdiff
path: root/epan/prefs.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 /epan/prefs.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 'epan/prefs.h')
-rw-r--r--epan/prefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index e9dd89de99..6d749b8b1a 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -201,6 +201,9 @@ typedef struct _e_prefs {
gboolean gui_update_enabled;
software_update_channel_e gui_update_channel;
gint gui_update_interval;
+ gchar *saved_at_version;
+ gboolean unknown_prefs; /* unknown or obsolete pref(s) */
+ gboolean unknown_colorfilters; /* unknown or obsolete color filter(s) */
} e_prefs;
WS_DLL_PUBLIC e_prefs prefs;