Improve help handling.
Improve help handling. 2002-05-26 Jody Goldberg <jody@gnome.org> * capplet-util.c (capplet_help) : new utility. 2002-05-24 Jody Goldberg <jody@gnome.org> * mime-type-info.c (mime_category_info_load_all) : make this more paranoid. * mime-category-edit-dialog.c (update_subcategories) : Move this over here. 2002-05-17 Jody Goldberg <jody@gnome.org> * mime-type-info.c (mime_category_info_using_custom_app) : add some protection.
This commit is contained in:
parent
49d1a5af36
commit
bd493373d2
12 changed files with 56 additions and 81 deletions
|
@ -76,19 +76,11 @@ toolbar_to_widget (GConfPropertyEditor *peditor, GConfValue *value)
|
|||
static void
|
||||
dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *changeset)
|
||||
{
|
||||
if (response_id == GTK_RESPONSE_HELP) {
|
||||
GError *error = NULL;
|
||||
|
||||
/* TODO : get this written */
|
||||
gnome_help_display_desktop (NULL,
|
||||
"control-center-manual",
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (dialog),
|
||||
"config-ui-properties.xml",
|
||||
"CONFIGURATION", &error);
|
||||
if (error) {
|
||||
g_warning ("help error: %s\n", error->message);
|
||||
g_error_free (error);
|
||||
}
|
||||
} else
|
||||
"CONFIGURATION");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue