aboutsummaryrefslogtreecommitdiffstats
path: root/src/prefs-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r--src/prefs-dialog.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 932da6336..fd322ef33 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -113,30 +113,6 @@ prefs_dialog_class_init (PrefsDialogClass *klass)
}
static void
-prefs_dialog_show_help (EphyDialog *dialog)
-{
- GtkWidget *window, *notebook;
- int id;
-
- static const char help_preferences[][28] = {
- "general-preferences",
- "fonts-and-style-preferences",
- "privacy-preferences",
- "language-preferences"
- };
-
- ephy_dialog_get_controls (dialog,
- "prefs_dialog", &window,
- "prefs_notebook", &notebook,
- NULL);
-
- id = gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook));
- id = CLAMP (id, 0, 3);
-
- ephy_gui_help (window, help_preferences[id]);
-}
-
-static void
css_edit_button_clicked_cb (GtkWidget *button,
PrefsDialog *pd)
{
@@ -897,7 +873,7 @@ prefs_dialog_response_cb (GtkDialog *widget,
{
if (response == GTK_RESPONSE_HELP)
{
- prefs_dialog_show_help (dialog);
+ ephy_gui_help (GTK_WIDGET (widget), "pref");
return;
}