aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main_titlebar.c
diff options
context:
space:
mode:
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);