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
|
@ -1,3 +1,7 @@
|
||||||
|
2002-05-26 Jody Goldberg <jody@gnome.org>
|
||||||
|
|
||||||
|
* main.c (cb_dialog_response) : improve handling of help failures.
|
||||||
|
|
||||||
Sun May 26 11:38:48 2002 Jonathan Blandford <jrb@gnome.org>
|
Sun May 26 11:38:48 2002 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
* main.c (main): use APPID instead of argv[0]
|
* main.c (main): use APPID instead of argv[0]
|
||||||
|
|
|
@ -30,19 +30,11 @@ create_dialog (void)
|
||||||
static void
|
static void
|
||||||
cb_dialog_response (GtkDialog *dialog, gint response_id)
|
cb_dialog_response (GtkDialog *dialog, gint response_id)
|
||||||
{
|
{
|
||||||
if (response_id == GTK_RESPONSE_HELP) {
|
if (response_id == GTK_RESPONSE_HELP)
|
||||||
GError *error = NULL;
|
capplet_help (GTK_WINDOW (dialog),
|
||||||
|
|
||||||
/* TODO : get this written */
|
|
||||||
gnome_help_display_desktop (NULL,
|
|
||||||
"control-center-manual",
|
|
||||||
"config-font.xml",
|
"config-font.xml",
|
||||||
"CONFIGURATION", &error);
|
"CONFIGURATION");
|
||||||
if (error) {
|
else
|
||||||
g_warning ("help error: %s\n", error->message);
|
|
||||||
g_error_free (error);
|
|
||||||
}
|
|
||||||
} else
|
|
||||||
gtk_main_quit ();
|
gtk_main_quit ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2002-05-26 Jody Goldberg <jody@gnome.org>
|
||||||
|
|
||||||
|
* gnome-mouse-properties.c (dialog_response_cb) : Improve handling of
|
||||||
|
help failures.
|
||||||
|
|
||||||
Sun May 26 11:31:34 2002 Jonathan Blandford <jrb@gnome.org>
|
Sun May 26 11:31:34 2002 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
* gnome-mouse-properties.c (main): use APPID instead of argv[0]
|
* gnome-mouse-properties.c (main): use APPID instead of argv[0]
|
||||||
|
|
|
@ -705,19 +705,11 @@ create_dialog (void)
|
||||||
static void
|
static void
|
||||||
dialog_response_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *changeset)
|
dialog_response_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *changeset)
|
||||||
{
|
{
|
||||||
if (response_id == GTK_RESPONSE_HELP) {
|
if (response_id == GTK_RESPONSE_HELP)
|
||||||
GError *error = NULL;
|
capplet_help (GTK_WINDOW (dialog),
|
||||||
|
|
||||||
/* TODO : get this written */
|
|
||||||
gnome_help_display_desktop (NULL,
|
|
||||||
"control-center-manual",
|
|
||||||
"config-mouse.xml",
|
"config-mouse.xml",
|
||||||
"CONFIGURATION", &error);
|
"CONFIGURATION");
|
||||||
if (error) {
|
else
|
||||||
g_warning ("help error: %s\n", error->message);
|
|
||||||
g_error_free (error);
|
|
||||||
}
|
|
||||||
} else
|
|
||||||
gtk_main_quit ();
|
gtk_main_quit ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2002-05-26 Jody Goldberg <jody@gnome.org>
|
||||||
|
|
||||||
|
* gnome-network-preferences.c (cb_dialog_response) : Improve handling
|
||||||
|
of help failures.
|
||||||
|
|
||||||
Sun May 26 11:45:26 2002 Jonathan Blandford <jrb@gnome.org>
|
Sun May 26 11:45:26 2002 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
* gnome-network-preferences.c (main): use APPID instead of argv[0]
|
* gnome-network-preferences.c (main): use APPID instead of argv[0]
|
||||||
|
|
|
@ -42,19 +42,11 @@
|
||||||
static void
|
static void
|
||||||
cb_dialog_response (GtkDialog *dialog, gint response_id)
|
cb_dialog_response (GtkDialog *dialog, gint response_id)
|
||||||
{
|
{
|
||||||
if (response_id == GTK_RESPONSE_HELP) {
|
if (response_id == GTK_RESPONSE_HELP)
|
||||||
GError *error = NULL;
|
capplet_help (GTK_WINDOW (dialog),
|
||||||
|
|
||||||
/* TODO : get this written */
|
|
||||||
gnome_help_display_desktop (NULL,
|
|
||||||
"control-center-manual",
|
|
||||||
"config-network.xml",
|
"config-network.xml",
|
||||||
"CONFIGURATION", &error);
|
"CONFIGURATION");
|
||||||
if (error) {
|
else
|
||||||
g_warning ("help error: %s\n", error->message);
|
|
||||||
g_error_free (error);
|
|
||||||
}
|
|
||||||
} else
|
|
||||||
gtk_main_quit ();
|
gtk_main_quit ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2002-05-26 Jody Goldberg <jody@gnome.org>
|
||||||
|
|
||||||
|
* sound-properties-capplet.c (dialog_button_clicked_cb) : Improve
|
||||||
|
handling of help failures.
|
||||||
|
|
||||||
Sun May 26 11:32:09 2002 Jonathan Blandford <jrb@gnome.org>
|
Sun May 26 11:32:09 2002 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
* sound-properties-capplet.c (main): use APPID instead of argv[0]
|
* sound-properties-capplet.c (main): use APPID instead of argv[0]
|
||||||
|
|
|
@ -122,18 +122,11 @@ get_legacy_settings (void)
|
||||||
static void
|
static void
|
||||||
dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *changeset)
|
dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *changeset)
|
||||||
{
|
{
|
||||||
if (response_id == GTK_RESPONSE_HELP) {
|
if (response_id == GTK_RESPONSE_HELP)
|
||||||
GError *error = NULL;
|
capplet_help (GTK_WINDOW (dialog),
|
||||||
|
|
||||||
gnome_help_display_desktop (NULL,
|
|
||||||
"control-center-manual",
|
|
||||||
"config-sound.xml",
|
"config-sound.xml",
|
||||||
"CONFIGURATION", &error);
|
"CONFIGURATION");
|
||||||
if (error) {
|
else
|
||||||
g_warning ("help error: %s\n", error->message);
|
|
||||||
g_error_free (error);
|
|
||||||
}
|
|
||||||
} else
|
|
||||||
gtk_main_quit ();
|
gtk_main_quit ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
2002-05-26 Jody Goldberg <jody@gnome.org>
|
||||||
|
|
||||||
|
* theme-switcher.c (install_dialog_response) : improve handling of
|
||||||
|
help failures.
|
||||||
|
(cb_dialog_response) : ditto.
|
||||||
|
|
||||||
Sun May 26 11:34:31 2002 Jonathan Blandford <jrb@gnome.org>
|
Sun May 26 11:34:31 2002 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
* theme-switcher.c (main): use APPID instead of argv[0]
|
* theme-switcher.c (main): use APPID instead of argv[0]
|
||||||
|
|
|
@ -361,17 +361,9 @@ install_dialog_response (GtkWidget *widget, int response_id, gpointer data)
|
||||||
const gchar *raw;
|
const gchar *raw;
|
||||||
|
|
||||||
if (response_id == GTK_RESPONSE_HELP) {
|
if (response_id == GTK_RESPONSE_HELP) {
|
||||||
GError *error = NULL;
|
capplet_help (GTK_WINDOW (widget),
|
||||||
|
|
||||||
/* TODO : get this written */
|
|
||||||
gnome_help_display_desktop (NULL,
|
|
||||||
"control-center-manual",
|
|
||||||
"config-themes.xml",
|
"config-themes.xml",
|
||||||
"config-theme-add", &error);
|
"config-theme-add");
|
||||||
if (error) {
|
|
||||||
g_warning ("help error: %s\n", error->message);
|
|
||||||
g_error_free (error);
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -419,19 +411,11 @@ install_dialog_response (GtkWidget *widget, int response_id, gpointer data)
|
||||||
static void
|
static void
|
||||||
cb_dialog_response (GtkDialog *dialog, gint response_id)
|
cb_dialog_response (GtkDialog *dialog, gint response_id)
|
||||||
{
|
{
|
||||||
if (response_id == GTK_RESPONSE_HELP) {
|
if (response_id == GTK_RESPONSE_HELP)
|
||||||
GError *error = NULL;
|
capplet_help (GTK_WINDOW (dialog),
|
||||||
|
|
||||||
/* TODO : get this written */
|
|
||||||
gnome_help_display_desktop (NULL,
|
|
||||||
"control-center-manual",
|
|
||||||
"config-themes.xml",
|
"config-themes.xml",
|
||||||
"CONFIGURATION", &error);
|
"CONFIGURATION");
|
||||||
if (error) {
|
else
|
||||||
g_warning ("help error: %s\n", error->message);
|
|
||||||
g_error_free (error);
|
|
||||||
}
|
|
||||||
} else
|
|
||||||
gtk_main_quit ();
|
gtk_main_quit ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2002-05-26 Jody Goldberg <jody@gnome.org>
|
||||||
|
|
||||||
|
* gnome-ui-properties.c (dialog_button_clicked_cb) : Improve handling
|
||||||
|
of help failures.
|
||||||
|
|
||||||
Sun May 26 11:37:08 2002 Jonathan Blandford <jrb@gnome.org>
|
Sun May 26 11:37:08 2002 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
* gnome-ui-properties.c (main): use APPID instead of argv[0]
|
* gnome-ui-properties.c (main): use APPID instead of argv[0]
|
||||||
|
|
|
@ -76,19 +76,11 @@ toolbar_to_widget (GConfPropertyEditor *peditor, GConfValue *value)
|
||||||
static void
|
static void
|
||||||
dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *changeset)
|
dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *changeset)
|
||||||
{
|
{
|
||||||
if (response_id == GTK_RESPONSE_HELP) {
|
if (response_id == GTK_RESPONSE_HELP)
|
||||||
GError *error = NULL;
|
capplet_help (GTK_WINDOW (dialog),
|
||||||
|
|
||||||
/* TODO : get this written */
|
|
||||||
gnome_help_display_desktop (NULL,
|
|
||||||
"control-center-manual",
|
|
||||||
"config-ui-properties.xml",
|
"config-ui-properties.xml",
|
||||||
"CONFIGURATION", &error);
|
"CONFIGURATION");
|
||||||
if (error) {
|
else
|
||||||
g_warning ("help error: %s\n", error->message);
|
|
||||||
g_error_free (error);
|
|
||||||
}
|
|
||||||
} else
|
|
||||||
gtk_main_quit ();
|
gtk_main_quit ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue