support help. add help.
2002-05-09 Jody Goldberg <jody@gnome.org> * gnome-keyboard-properties.c (dialog_response) : support help. * gnome-keyboard-properties.glade : add help.
This commit is contained in:
parent
c25f749979
commit
263bc20dd5
3 changed files with 31 additions and 8 deletions
|
@ -223,14 +223,20 @@ dialog_response (GtkWidget *widget,
|
|||
gint response_id,
|
||||
GConfChangeSet *changeset)
|
||||
{
|
||||
switch (response_id)
|
||||
{
|
||||
case RESPONSE_CLOSE:
|
||||
case GTK_RESPONSE_DELETE_EVENT:
|
||||
default:
|
||||
if (response_id == GTK_RESPONSE_HELP) {
|
||||
GError *error = NULL;
|
||||
|
||||
/* TODO : get this written */
|
||||
gnome_help_display_desktop (NULL,
|
||||
"control-center-manual",
|
||||
"config-keyboard.xml",
|
||||
"CONFIGURATION", &error);
|
||||
if (error) {
|
||||
g_warning ("help error: %s\n", error->message);
|
||||
g_error_free (error);
|
||||
}
|
||||
} else
|
||||
gtk_main_quit ();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue