capplet_help () The Help directory is changed to user-guide.

2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>

	* capplet-util.c : capplet_help () The Help directory is changed to
	  user-guide.
This commit is contained in:
Satyajit Kanungo 2002-05-29 04:14:29 +00:00 committed by Jody Goldberg
parent ce01d9b7ce
commit b4123f15b1
25 changed files with 118 additions and 35 deletions

View file

@ -1,3 +1,8 @@
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* background-properties-capplet.c : Changed the help file link
to get the help document from user-guide.
2002-05-26 Jody Goldberg <jody@gnome.org> 2002-05-26 Jody Goldberg <jody@gnome.org>
* background-properties-capplet.c (cb_dialog_response) : improve * background-properties-capplet.c (cb_dialog_response) : improve

View file

@ -453,8 +453,8 @@ cb_dialog_response (GtkDialog *dialog, gint response_id)
{ {
if (response_id == GTK_RESPONSE_HELP) if (response_id == GTK_RESPONSE_HELP)
capplet_help (GTK_WINDOW (dialog), capplet_help (GTK_WINDOW (dialog),
"config-background.xml", "wgoscustdesk.xml",
"CONFIGURATION"); "goscustdesk-7");
else else
gtk_main_quit (); gtk_main_quit ();
} }

View file

@ -1,3 +1,8 @@
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* capplet-util.c : capplet_help () The Help directory is changed to
user-guide.
2002-05-26 Jody Goldberg <jody@gnome.org> 2002-05-26 Jody Goldberg <jody@gnome.org>
* capplet-util.c (capplet_help) : new utility. * capplet-util.c (capplet_help) : new utility.

View file

@ -303,7 +303,7 @@ capplet_help (GtkWindow *parent, char const *helpfile, char const *section)
g_return_if_fail (section != NULL); g_return_if_fail (section != NULL);
gnome_help_display_desktop (NULL, gnome_help_display_desktop (NULL,
"control-center-manual", "user-guide",
helpfile, section, &error); helpfile, section, &error);
if (error) { if (error) {
GtkWidget *dialog; GtkWidget *dialog;

View file

@ -1,3 +1,8 @@
2002-05-24 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* gnome-default-applications-properties.c : Changed the help file
link to get the help document from user-guide.
2002-05-26 Jody Goldberg <jody@gnome.org> 2002-05-26 Jody Goldberg <jody@gnome.org>
* file-types-capplet.c (cb_file_type_dialog_response) : Improve * file-types-capplet.c (cb_file_type_dialog_response) : Improve

View file

@ -542,8 +542,8 @@ dialog_response (GtkDialog *widget,
{ {
if (response_id == GTK_RESPONSE_HELP) if (response_id == GTK_RESPONSE_HELP)
capplet_help (GTK_WINDOW (widget), capplet_help (GTK_WINDOW (widget),
"config-default-apps.xml", "wgoscustlookandfeel.xml",
"CONFIGURATION"); "goscustdoc-2");
else else
gtk_main_quit (); gtk_main_quit ();
} }

View file

@ -1,3 +1,8 @@
2002-05-24 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* file-types-capplet.c : Changed the help file link
to get the help document from user-guide.
2002-05-24 Jody Goldberg <jody@gnome.org> 2002-05-24 Jody Goldberg <jody@gnome.org>
* mime-type-info.c (mime_category_info_load_all) : make this more paranoid. * mime-type-info.c (mime_category_info_load_all) : make this more paranoid.

View file

@ -180,8 +180,8 @@ cb_file_type_dialog_response (GtkDialog *dialog, gint response_id)
{ {
if (response_id == GTK_RESPONSE_HELP) if (response_id == GTK_RESPONSE_HELP)
capplet_help (GTK_WINDOW (dialog), capplet_help (GTK_WINDOW (dialog),
"config-file-type.xml", "wgoscustlookandfeel.xml",
"CONFIGURATION"); "goscustdoc-7");
else else
gtk_main_quit (); gtk_main_quit ();
} }

View file

@ -1,3 +1,8 @@
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* main.c : Changed the help file link
to get the help document from user-guide.
2002-05-26 Jody Goldberg <jody@gnome.org> 2002-05-26 Jody Goldberg <jody@gnome.org>
* main.c (cb_dialog_response) : improve handling of help failures. * main.c (cb_dialog_response) : improve handling of help failures.

View file

@ -32,8 +32,8 @@ cb_dialog_response (GtkDialog *dialog, gint response_id)
{ {
if (response_id == GTK_RESPONSE_HELP) if (response_id == GTK_RESPONSE_HELP)
capplet_help (GTK_WINDOW (dialog), capplet_help (GTK_WINDOW (dialog),
"config-font.xml", "wgoscustdesk.xml",
"CONFIGURATION"); "goscustdesk-38");
else else
gtk_main_quit (); gtk_main_quit ();
} }

View file

@ -1,3 +1,15 @@
2002-05-29 Jody Goldberg <jody@gnome.org>
* gnome-keybinding-properties.c (cb_dialog_response) : fix return type.
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* gnome-keybinding-properties.glade : Added a help button
* gnome-keybinding-properties.c : Put the help callback to get
the help document from user-guide.
Sun May 26 11:01:28 2002 Jonathan Blandford <jrb@gnome.org> Sun May 26 11:01:28 2002 Jonathan Blandford <jrb@gnome.org>
* gnome-keybinding-properties.c (main): use APPID instead of * gnome-keybinding-properties.c (main): use APPID instead of

View file

@ -806,6 +806,17 @@ start_editing_cb (GtkTreeView *tree_view,
return TRUE; return TRUE;
} }
static void
cb_dialog_response (GtkWidget *widget, gint response_id, gpointer data)
{
if (response_id == GTK_RESPONSE_HELP)
capplet_help (GTK_WINDOW (widget),
"wgoscustdesk.xml",
"goscustdesk-39");
else
gtk_main_quit ();
}
static void static void
setup_dialog (GladeXML *dialog) setup_dialog (GladeXML *dialog)
{ {
@ -896,7 +907,7 @@ setup_dialog (GladeXML *dialog)
g_object_unref (icon_pixbuf); g_object_unref (icon_pixbuf);
gtk_widget_show (widget); gtk_widget_show (widget);
g_signal_connect (G_OBJECT (widget), "response", gtk_main_quit, NULL); g_signal_connect (G_OBJECT (widget), "response", G_CALLBACK(cb_dialog_response), NULL);
g_signal_connect (G_OBJECT (widget), "close", gtk_main_quit, NULL); g_signal_connect (G_OBJECT (widget), "close", gtk_main_quit, NULL);
} }

View file

@ -26,6 +26,19 @@
<property name="layout_style">GTK_BUTTONBOX_END</property> <property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">10</property> <property name="spacing">10</property>
<child>
<widget class="GtkButton" id="helpbutton1">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-help</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">-11</property>
</widget>
</child>
<child> <child>
<widget class="GtkButton" id="closebutton1"> <widget class="GtkButton" id="closebutton1">
<property name="visible">True</property> <property name="visible">True</property>

View file

@ -1,3 +1,9 @@
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* gnome-keyboard-properties.c : Changed the help file link
to get the help document from user-guide.
Sun May 26 11:30:25 2002 Jonathan Blandford <jrb@gnome.org> Sun May 26 11:30:25 2002 Jonathan Blandford <jrb@gnome.org>
* gnome-keyboard-properties.c (main): use APPID instead of argv[0] * gnome-keyboard-properties.c (main): use APPID instead of argv[0]

View file

@ -223,19 +223,11 @@ dialog_response (GtkWidget *widget,
gint response_id, gint response_id,
GConfChangeSet *changeset) GConfChangeSet *changeset)
{ {
if (response_id == GTK_RESPONSE_HELP) { if (response_id == GTK_RESPONSE_HELP)
GError *error = NULL; capplet_help (GTK_WINDOW (widget),
"wgoscustdesk.xml",
/* TODO : get this written */ "goscustperiph-2");
gnome_help_display_desktop (NULL, else
"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 (); gtk_main_quit ();
} }

View file

@ -1,3 +1,8 @@
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* gnome-mouse-properties.c : Changed the help file link
to get the help document from user-guide.
2002-05-26 Jody Goldberg <jody@gnome.org> 2002-05-26 Jody Goldberg <jody@gnome.org>
* gnome-mouse-properties.c (dialog_response_cb) : Improve handling of * gnome-mouse-properties.c (dialog_response_cb) : Improve handling of

View file

@ -707,8 +707,8 @@ dialog_response_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *changes
{ {
if (response_id == GTK_RESPONSE_HELP) if (response_id == GTK_RESPONSE_HELP)
capplet_help (GTK_WINDOW (dialog), capplet_help (GTK_WINDOW (dialog),
"config-mouse.xml", "wgoscustdesk.xml",
"CONFIGURATION"); "goscustperiph-5");
else else
gtk_main_quit (); gtk_main_quit ();
} }

View file

@ -1,3 +1,8 @@
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* gnome-network-preferences.c : Changed the help file link
to get the help document from user-guide.
2002-05-26 Jody Goldberg <jody@gnome.org> 2002-05-26 Jody Goldberg <jody@gnome.org>
* gnome-network-preferences.c (cb_dialog_response) : Improve handling * gnome-network-preferences.c (cb_dialog_response) : Improve handling

View file

@ -44,8 +44,8 @@ cb_dialog_response (GtkDialog *dialog, gint response_id)
{ {
if (response_id == GTK_RESPONSE_HELP) if (response_id == GTK_RESPONSE_HELP)
capplet_help (GTK_WINDOW (dialog), capplet_help (GTK_WINDOW (dialog),
"config-network.xml", "wgoscustdesk.xml",
"CONFIGURATION"); "goscustdesk-50");
else else
gtk_main_quit (); gtk_main_quit ();
} }

View file

@ -1,3 +1,8 @@
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* sound-properties-capplet.c : Changed the help file link
to get the help document from user-guide.
2002-05-26 Jody Goldberg <jody@gnome.org> 2002-05-26 Jody Goldberg <jody@gnome.org>
* sound-properties-capplet.c (dialog_button_clicked_cb) : Improve * sound-properties-capplet.c (dialog_button_clicked_cb) : Improve

View file

@ -124,8 +124,8 @@ dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *c
{ {
if (response_id == GTK_RESPONSE_HELP) if (response_id == GTK_RESPONSE_HELP)
capplet_help (GTK_WINDOW (dialog), capplet_help (GTK_WINDOW (dialog),
"config-sound.xml", "wgoscustdesk.xml",
"CONFIGURATION"); "goscustmulti-2");
else else
gtk_main_quit (); gtk_main_quit ();
} }

View file

@ -1,3 +1,7 @@
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* theme-switcher.c : Changed the help file link
to get the help document from user-guide.
2002-05-26 Jody Goldberg <jody@gnome.org> 2002-05-26 Jody Goldberg <jody@gnome.org>
* theme-switcher.c (install_dialog_response) : improve handling of * theme-switcher.c (install_dialog_response) : improve handling of

View file

@ -362,8 +362,8 @@ install_dialog_response (GtkWidget *widget, int response_id, gpointer data)
if (response_id == GTK_RESPONSE_HELP) { if (response_id == GTK_RESPONSE_HELP) {
capplet_help (GTK_WINDOW (widget), capplet_help (GTK_WINDOW (widget),
"config-themes.xml", "wgoscustdesk.xml",
"config-theme-add"); "goscustdesk-12");
return; return;
} }
@ -413,8 +413,8 @@ cb_dialog_response (GtkDialog *dialog, gint response_id)
{ {
if (response_id == GTK_RESPONSE_HELP) if (response_id == GTK_RESPONSE_HELP)
capplet_help (GTK_WINDOW (dialog), capplet_help (GTK_WINDOW (dialog),
"config-themes.xml", "wgoscustdesk.xml",
"CONFIGURATION"); "goscustdesk-12");
else else
gtk_main_quit (); gtk_main_quit ();
} }

View file

@ -1,3 +1,8 @@
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* gnome-ui-properties.c : Changed the help file link
to get the help document from user-guide.
2002-05-26 Jody Goldberg <jody@gnome.org> 2002-05-26 Jody Goldberg <jody@gnome.org>
* gnome-ui-properties.c (dialog_button_clicked_cb) : Improve handling * gnome-ui-properties.c (dialog_button_clicked_cb) : Improve handling

View file

@ -78,8 +78,8 @@ dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *c
{ {
if (response_id == GTK_RESPONSE_HELP) if (response_id == GTK_RESPONSE_HELP)
capplet_help (GTK_WINDOW (dialog), capplet_help (GTK_WINDOW (dialog),
"config-ui-properties.xml", "wgoscustdesk.xml",
"CONFIGURATION"); "goscustuserinter-2");
else else
gtk_main_quit (); gtk_main_quit ();
} }