From df0bef704ab266208002356b39696cfa543bf81d Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Tue, 31 Jul 2012 07:27:39 +0000 Subject: 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 --- epan/prefs.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'epan/prefs.h') 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; -- cgit v1.2.3