aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main_welcome.c
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 /ui/gtk/main_welcome.c
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 'ui/gtk/main_welcome.c')
-rw-r--r--ui/gtk/main_welcome.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gtk/main_welcome.c b/ui/gtk/main_welcome.c
index c1c09df32e..a7757dbe90 100644
--- a/ui/gtk/main_welcome.c
+++ b/ui/gtk/main_welcome.c
@@ -328,7 +328,8 @@ welcome_header_set_message(gchar *msg) {
g_string_append(message, prefs.gui_start_title);
}
- if (prefs.gui_version_in_start_page) {
+ if ((prefs.gui_version_placement == version_welcome_only) ||
+ (prefs.gui_version_placement == version_both)) {
g_string_append_printf(message, "</span>\n<span size=\"large\" foreground=\"white\">Version " VERSION "%s",
wireshark_svnversion);
}