aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdm-dialog.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@gnome.org>2009-12-18 08:20:35 +0800
committerDiego Escalante Urrelo <diegoe@gnome.org>2009-12-19 05:36:12 +0800
commit7aa9ee599f7a1379b045ad020fc4c4ed94ece79e (patch)
treea0b1b74024dd0fa8f6de4455eaeeadd0b2e83ae7 /src/pdm-dialog.c
parente896b194fbff39b480c571483c7d549865f38960 (diff)
downloadgsoc2013-epiphany-7aa9ee599f7a1379b045ad020fc4c4ed94ece79e.tar.gz
gsoc2013-epiphany-7aa9ee599f7a1379b045ad020fc4c4ed94ece79e.tar.zst
gsoc2013-epiphany-7aa9ee599f7a1379b045ad020fc4c4ed94ece79e.zip
ephy_gui_help: use gtk_show_uri to open help
We were doing some ugly path searching for this. The correct method is to use gtk_show_uri. Bug #604024
Diffstat (limited to 'src/pdm-dialog.c')
-rw-r--r--src/pdm-dialog.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 39fa7b709..8b1633f83 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -183,7 +183,7 @@ pdm_dialog_show_help (PdmDialog *pd)
id = gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook));
g_return_if_fail (id == 0 || id == 1);
- ephy_gui_help (GTK_WINDOW (window), "epiphany", help_preferences[id]);
+ ephy_gui_help (window, help_preferences[id]);
}
typedef struct
@@ -255,8 +255,7 @@ clear_all_dialog_response_cb (GtkDialog *dialog,
if (response == GTK_RESPONSE_HELP)
{
/* Show help and return early */
-
- ephy_gui_help (GTK_WINDOW (dialog), "epiphany", "clearing-personal-data");
+ ephy_gui_help (GTK_WIDGET (dialog), "clearing-personal-data");
return;
}