Recent versions of GTK+ have added a "gtk-label-select-on-focus"
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 20 Jan 2007 02:05:49 +0000 (02:05 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 20 Jan 2007 02:05:49 +0000 (02:05 +0000)
commit801a349cdea69c1eb863021826dbd5cb953332bf
tree45d70fa3d62edff2f0cfc25635511c0acaae9186
parent6b4d1695c387dee83a5e19f644b4e618d5bc1c70
Recent versions of GTK+ have added a "gtk-label-select-on-focus"
property, which selects the entire contents of a label when it comes
into focus.  This property annoyingly defaults to TRUE, which meant that
the labels in simple dialogs and the about box would unexpectedly show
up selected.

Work around this by setting the focus on the "OK" button in the about
dialog and the first button specified in simple dialogs.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20507 f5534014-38df-0310-8fa8-9805f1628bb7
gtk/about_dlg.c
gtk/dlg_utils.c
gtk/dlg_utils.h
gtk/simple_dialog.c