aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main_titlebar.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_titlebar.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_titlebar.c')
-rw-r--r--ui/gtk/main_titlebar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gtk/main_titlebar.c b/ui/gtk/main_titlebar.c
index e2e1c45c68..bcae30299a 100644
--- a/ui/gtk/main_titlebar.c
+++ b/ui/gtk/main_titlebar.c
@@ -74,7 +74,8 @@ main_titlebar_update(void)
title = create_user_window_title(window_name);
/* Optionally append the version */
- if (prefs.gui_version_in_start_page) {
+ if ((prefs.gui_version_placement == version_title_only) ||
+ (prefs.gui_version_placement == version_both)) {
gchar *old_title = title;
title = g_strdup_printf("%s [Wireshark %s %s]", title, VERSION, wireshark_svnversion);
g_free(old_title);