aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-09-22 21:28:55 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-09-22 21:28:55 +0000
commitdc8a11f7bbfc82fda11beb37c0d5544d24a4326d (patch)
tree08db9d7de15b63a6805eee169749dfdafeb67c41 /gtk
parent6aa5f8aa6af33baa7b2f37e14cbfc3e73136b333 (diff)
Fix:About dialog: all text selected when switching tabs
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1349 Hopfully the right thing to do :) svn path=/trunk/; revision=26247
Diffstat (limited to 'gtk')
-rw-r--r--gtk/about_dlg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/about_dlg.c b/gtk/about_dlg.c
index df09c8736c..858f69e37a 100644
--- a/gtk/about_dlg.c
+++ b/gtk/about_dlg.c
@@ -279,6 +279,11 @@ about_wireshark_page_new(void)
main_vb = gtk_vbox_new(FALSE, 6);
gtk_container_set_border_width(GTK_CONTAINER(main_vb), 12);
+#if GTK_CHECK_VERSION(2,9,0)
+ g_object_set(gtk_widget_get_settings(main_vb),
+ "gtk-label-select-on-focus", FALSE, NULL);
+#endif
+
about_wireshark(top_level, main_vb);
/* Construct the message string */