Fix accelarators/mnemonics in dialogs containing radio or check buttons.
authoroabad <oabad@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 1 Sep 2002 09:46:54 +0000 (09:46 +0000)
committeroabad <oabad@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 1 Sep 2002 09:46:54 +0000 (09:46 +0000)
commitbae42d616ec042d5f3df1e76979e029431102b7d
treea29989341c1f31aa98b06aad070c24cfdfb291b2
parentb2176a59170b3bce36ab68fc8d6984940fa97a42
Fix accelarators/mnemonics in dialogs containing radio or check buttons.

The GTK+ v2 documentation says accelarators should only be used with
menus. For text entries or buttons, we must use mnemonics.

Replace dlg_check_button_new_with_label_with_mnemonic() and
dlg_radio_button_new_with_label_with_mnemonic() with
gtk_check_button_new_with_mnemonic() and
gtk_radio_button_new_with_mnemonic()

For radio buttons, gtk_radio_button_group is deprecated. Use
gtk_radio_button_new_with_mnemonic_from_widget() to create a new button
in an existing group.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6165 f5534014-38df-0310-8fa8-9805f1628bb7
gtk2/capture_dlg.c
gtk2/display_opts.c
gtk2/dlg_utils.c
gtk2/file_dlg.c
gtk2/find_dlg.c
gtk2/print_dlg.c