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:
parent
ce01d9b7ce
commit
b4123f15b1
25 changed files with 118 additions and 35 deletions
|
@ -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>
|
||||
|
||||
* background-properties-capplet.c (cb_dialog_response) : improve
|
||||
|
|
|
@ -453,8 +453,8 @@ cb_dialog_response (GtkDialog *dialog, gint response_id)
|
|||
{
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (dialog),
|
||||
"config-background.xml",
|
||||
"CONFIGURATION");
|
||||
"wgoscustdesk.xml",
|
||||
"goscustdesk-7");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
* capplet-util.c (capplet_help) : new utility.
|
||||
|
|
|
@ -303,7 +303,7 @@ capplet_help (GtkWindow *parent, char const *helpfile, char const *section)
|
|||
g_return_if_fail (section != NULL);
|
||||
|
||||
gnome_help_display_desktop (NULL,
|
||||
"control-center-manual",
|
||||
"user-guide",
|
||||
helpfile, section, &error);
|
||||
if (error) {
|
||||
GtkWidget *dialog;
|
||||
|
|
|
@ -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>
|
||||
|
||||
* file-types-capplet.c (cb_file_type_dialog_response) : Improve
|
||||
|
|
|
@ -542,8 +542,8 @@ dialog_response (GtkDialog *widget,
|
|||
{
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (widget),
|
||||
"config-default-apps.xml",
|
||||
"CONFIGURATION");
|
||||
"wgoscustlookandfeel.xml",
|
||||
"goscustdoc-2");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
* mime-type-info.c (mime_category_info_load_all) : make this more paranoid.
|
||||
|
|
|
@ -180,8 +180,8 @@ cb_file_type_dialog_response (GtkDialog *dialog, gint response_id)
|
|||
{
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (dialog),
|
||||
"config-file-type.xml",
|
||||
"CONFIGURATION");
|
||||
"wgoscustlookandfeel.xml",
|
||||
"goscustdoc-7");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
* main.c (cb_dialog_response) : improve handling of help failures.
|
||||
|
|
|
@ -32,8 +32,8 @@ cb_dialog_response (GtkDialog *dialog, gint response_id)
|
|||
{
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (dialog),
|
||||
"config-font.xml",
|
||||
"CONFIGURATION");
|
||||
"wgoscustdesk.xml",
|
||||
"goscustdesk-38");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
* gnome-keybinding-properties.c (main): use APPID instead of
|
||||
|
|
|
@ -806,6 +806,17 @@ start_editing_cb (GtkTreeView *tree_view,
|
|||
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
|
||||
setup_dialog (GladeXML *dialog)
|
||||
{
|
||||
|
@ -896,7 +907,7 @@ setup_dialog (GladeXML *dialog)
|
|||
g_object_unref (icon_pixbuf);
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -26,6 +26,19 @@
|
|||
<property name="layout_style">GTK_BUTTONBOX_END</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>
|
||||
<widget class="GtkButton" id="closebutton1">
|
||||
<property name="visible">True</property>
|
||||
|
|
|
@ -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>
|
||||
|
||||
* gnome-keyboard-properties.c (main): use APPID instead of argv[0]
|
||||
|
|
|
@ -223,19 +223,11 @@ dialog_response (GtkWidget *widget,
|
|||
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",
|
||||
"config-keyboard.xml",
|
||||
"CONFIGURATION", &error);
|
||||
if (error) {
|
||||
g_warning ("help error: %s\n", error->message);
|
||||
g_error_free (error);
|
||||
}
|
||||
} else
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (widget),
|
||||
"wgoscustdesk.xml",
|
||||
"goscustperiph-2");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
* gnome-mouse-properties.c (dialog_response_cb) : Improve handling of
|
||||
|
|
|
@ -707,8 +707,8 @@ dialog_response_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *changes
|
|||
{
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (dialog),
|
||||
"config-mouse.xml",
|
||||
"CONFIGURATION");
|
||||
"wgoscustdesk.xml",
|
||||
"goscustperiph-5");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
* gnome-network-preferences.c (cb_dialog_response) : Improve handling
|
||||
|
|
|
@ -44,8 +44,8 @@ cb_dialog_response (GtkDialog *dialog, gint response_id)
|
|||
{
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (dialog),
|
||||
"config-network.xml",
|
||||
"CONFIGURATION");
|
||||
"wgoscustdesk.xml",
|
||||
"goscustdesk-50");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
* sound-properties-capplet.c (dialog_button_clicked_cb) : Improve
|
||||
|
|
|
@ -124,8 +124,8 @@ dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *c
|
|||
{
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (dialog),
|
||||
"config-sound.xml",
|
||||
"CONFIGURATION");
|
||||
"wgoscustdesk.xml",
|
||||
"goscustmulti-2");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
* theme-switcher.c (install_dialog_response) : improve handling of
|
||||
|
|
|
@ -362,8 +362,8 @@ install_dialog_response (GtkWidget *widget, int response_id, gpointer data)
|
|||
|
||||
if (response_id == GTK_RESPONSE_HELP) {
|
||||
capplet_help (GTK_WINDOW (widget),
|
||||
"config-themes.xml",
|
||||
"config-theme-add");
|
||||
"wgoscustdesk.xml",
|
||||
"goscustdesk-12");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -413,8 +413,8 @@ cb_dialog_response (GtkDialog *dialog, gint response_id)
|
|||
{
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (dialog),
|
||||
"config-themes.xml",
|
||||
"CONFIGURATION");
|
||||
"wgoscustdesk.xml",
|
||||
"goscustdesk-12");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
* gnome-ui-properties.c (dialog_button_clicked_cb) : Improve handling
|
||||
|
|
|
@ -78,8 +78,8 @@ dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *c
|
|||
{
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (dialog),
|
||||
"config-ui-properties.xml",
|
||||
"CONFIGURATION");
|
||||
"wgoscustdesk.xml",
|
||||
"goscustuserinter-2");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue