aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-07-31 07:27:39 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-07-31 07:27:39 +0000
commitdf0bef704ab266208002356b39696cfa543bf81d (patch)
treef7377d8edeae1b2511b3bacfb9794e5bc1f4f296 /epan/prefs.h
parentfc5a63c97f84593d87ac312c1b956ccef7f96a19 (diff)
From Michael Mann:
Expand show version preference. implementation of Steven's suggestion of a radio button (actually dropdown) of the 4 possibilities. I changed the default to have the version on both in the welcome screen and on the window as that's how it was and people tend not to change the preferences I think. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6437 svn path=/trunk/; revision=44153
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index b7ea7d8025..0520b830e9 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -103,6 +103,16 @@ typedef enum {
console_open_always
} console_open_e;
+/*
+ * Places version information will show up
+ */
+typedef enum {
+ version_welcome_only,
+ version_title_only,
+ version_both,
+ version_neither
+} version_info_e;
+
typedef struct _e_prefs {
gint pr_format;
@@ -146,7 +156,7 @@ typedef struct _e_prefs {
gchar *gui_webbrowser;
gchar *gui_window_title;
gchar *gui_start_title;
- gboolean gui_version_in_start_page;
+ version_info_e gui_version_placement;
gboolean gui_auto_scroll_on_expand;
guint gui_auto_scroll_percentage;
layout_type_e gui_layout_type;