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:
parent
d2bb2392df
commit
3f31e2bdbd
2 changed files with 21 additions and 1 deletions
|
@ -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>
|
||||
|
||||
* theme-switcher.c (read_themes): try to scroll to theme.
|
||||
|
|
|
@ -360,6 +360,21 @@ install_dialog_response (GtkWidget *widget, int response_id, gpointer data)
|
|||
GnomeVFSURI *src_uri;
|
||||
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);
|
||||
|
||||
switch (response_id)
|
||||
|
@ -409,7 +424,7 @@ cb_dialog_response (GtkDialog *dialog, gint response_id)
|
|||
/* TODO : get this written */
|
||||
gnome_help_display_desktop (NULL,
|
||||
"control-center-manual",
|
||||
"config-theme.xml",
|
||||
"config-themes.xml",
|
||||
"CONFIGURATION", &error);
|
||||
if (error) {
|
||||
g_warning ("help error: %s\n", error->message);
|
||||
|
|
Loading…
Add table
Reference in a new issue