fix widget name for the keyboard capplet button

2002-08-01  jacob berkman  <jacob@ximian.com>

	* accessibility-keyboard.c (setup_accessX_dialog): fix widget name
	for the keyboard capplet button

	* gnome-accessibility-keyboard-properties.c (dialog_response):
	don't quit when the import accessx button is clicked (#89358)
This commit is contained in:
jacob berkman 2002-08-01 18:14:20 +00:00 committed by Jacob Berkman
parent e012170da4
commit a3029dc455
3 changed files with 19 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2002-08-01 jacob berkman <jacob@ximian.com>
* accessibility-keyboard.c (setup_accessX_dialog): fix widget name
for the keyboard capplet button
* gnome-accessibility-keyboard-properties.c (dialog_response):
don't quit when the import accessx button is clicked (#89358)
2002-06-21 Satyajit Kanungo <satyajit.kanungo@wipro.com> 2002-06-21 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* gnome-accessibility-keyboard-properties.c : * gnome-accessibility-keyboard-properties.c :

View file

@ -444,7 +444,7 @@ setup_accessX_dialog (GConfChangeSet *changeset)
g_signal_connect (G_OBJECT (WID ("load_CDE_file")), g_signal_connect (G_OBJECT (WID ("load_CDE_file")),
"clicked", "clicked",
G_CALLBACK (cb_load_CDE_file), toplevel); G_CALLBACK (cb_load_CDE_file), toplevel);
g_signal_connect (G_OBJECT (WID ("launch_repeat_button")), g_signal_connect (G_OBJECT (WID ("launch_keyboard_capplet")),
"clicked", "clicked",
G_CALLBACK (cb_launch_keyboard_capplet), toplevel); G_CALLBACK (cb_launch_keyboard_capplet), toplevel);

View file

@ -37,12 +37,20 @@ dialog_response (GtkWidget *widget,
gint response_id, gint response_id,
GConfChangeSet *changeset) GConfChangeSet *changeset)
{ {
if (response_id == GTK_RESPONSE_HELP) switch (response_id) {
case GTK_RESPONSE_HELP:
capplet_help (GTK_WINDOW (widget), capplet_help (GTK_WINDOW (widget),
"wgoscustaccess.xml", "wgoscustaccess.xml",
"goscustaccess-2"); "goscustaccess-2");
else break;
case GTK_RESPONSE_DELETE_EVENT:
case GTK_RESPONSE_CLOSE:
gtk_main_quit (); gtk_main_quit ();
break;
default:
/* Import CDE AccessX File */
break;
}
} }
int int