fix path. (install_dialog_response) : add help link.

2002-05-16  Jody Goldberg <jody@gnome.org>

	* theme-switcher.c (cb_dialog_response) : fix path.
	(install_dialog_response) : add help link.
This commit is contained in:
Jody Goldberg 2002-05-16 21:06:45 +00:00 committed by Jody Goldberg
parent d2bb2392df
commit 3f31e2bdbd
2 changed files with 21 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-05-16 Jody Goldberg <jody@gnome.org>
* theme-switcher.c (cb_dialog_response) : fix path.
(install_dialog_response) : add help link.
Tue May 14 12:29:35 2002 Jonathan Blandford <jrb@redhat.com> Tue May 14 12:29:35 2002 Jonathan Blandford <jrb@redhat.com>
* theme-switcher.c (read_themes): try to scroll to theme. * theme-switcher.c (read_themes): try to scroll to theme.

View file

@ -360,6 +360,21 @@ install_dialog_response (GtkWidget *widget, int response_id, gpointer data)
GnomeVFSURI *src_uri; GnomeVFSURI *src_uri;
const gchar *raw; const gchar *raw;
if (response_id == GTK_RESPONSE_HELP) {
GError *error = NULL;
/* TODO : get this written */
gnome_help_display_desktop (NULL,
"control-center-manual",
"config-themes.xml",
"config-theme-add", &error);
if (error) {
g_warning ("help error: %s\n", error->message);
g_error_free (error);
}
return;
}
gtk_widget_hide (widget); gtk_widget_hide (widget);
switch (response_id) switch (response_id)
@ -409,7 +424,7 @@ cb_dialog_response (GtkDialog *dialog, gint response_id)
/* TODO : get this written */ /* TODO : get this written */
gnome_help_display_desktop (NULL, gnome_help_display_desktop (NULL,
"control-center-manual", "control-center-manual",
"config-theme.xml", "config-themes.xml",
"CONFIGURATION", &error); "CONFIGURATION", &error);
if (error) { if (error) {
g_warning ("help error: %s\n", error->message); g_warning ("help error: %s\n", error->message);