Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk2 capture_dlg.c display_opts.c dlg_utils.
oabad 2002/09/01 04:46:56 CDT
Modified files:
gtk2 capture_dlg.c display_opts.c dlg_utils.c
file_dlg.c find_dlg.c print_dlg.c
Log:
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.
Revision Changes Path
1.4 +15 -24 ethereal/gtk2/capture_dlg.c
1.2 +18 -27 ethereal/gtk2/display_opts.c
1.2 +1 -60 ethereal/gtk2/dlg_utils.c
1.2 +7 -14 ethereal/gtk2/file_dlg.c
1.2 +4 -13 ethereal/gtk2/find_dlg.c
1.2 +18 -38 ethereal/gtk2/print_dlg.c