From 7aa9ee599f7a1379b045ad020fc4c4ed94ece79e Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Thu, 17 Dec 2009 19:20:35 -0500 Subject: 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 --- src/pdm-dialog.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/pdm-dialog.c') 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; } -- cgit