aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-gui.c
diff options
context:
space:
mode:
authorEkaterina Gerasimova <kittykat3756@gmail.com>2013-07-07 05:54:56 +0800
committerEkaterina Gerasimova <kittykat3756@gmail.com>2013-08-04 23:37:10 +0800
commit1feec7d16afd3c0396e3dde422001d95bea15bf7 (patch)
tree30d2eb05b35bff4a4f7ffa72301e255b65579ac5 /lib/ephy-gui.c
parent3959996638d390e27eb4e1e78c62cd04eb6b8071 (diff)
downloadgsoc2013-epiphany-1feec7d16afd3c0396e3dde422001d95bea15bf7.tar
gsoc2013-epiphany-1feec7d16afd3c0396e3dde422001d95bea15bf7.tar.gz
gsoc2013-epiphany-1feec7d16afd3c0396e3dde422001d95bea15bf7.tar.bz2
gsoc2013-epiphany-1feec7d16afd3c0396e3dde422001d95bea15bf7.tar.lz
gsoc2013-epiphany-1feec7d16afd3c0396e3dde422001d95bea15bf7.tar.xz
gsoc2013-epiphany-1feec7d16afd3c0396e3dde422001d95bea15bf7.tar.zst
gsoc2013-epiphany-1feec7d16afd3c0396e3dde422001d95bea15bf7.zip
Update links to help, add app menuitem
Update ephy_gui_help to link to pages, not sections. Update links to pages in the new help. Add an app menu Help item. Change the link from the preference dialog to link to the pref.page because one page per tab is not compatible with the help style…
Diffstat (limited to 'lib/ephy-gui.c')
-rw-r--r--lib/ephy-gui.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c
index f3ded522c..2f5f81252 100644
--- a/lib/ephy-gui.c
+++ b/lib/ephy-gui.c
@@ -269,25 +269,25 @@ ephy_gui_check_location_writable (GtkWidget *parent,
/**
* ephy_gui_help:
* @parent: the parent window where help is being called
- * @section: help section to open or %NULL
+ * @page: help page to open or %NULL
*
- * Displays Epiphany's help, opening the section indicated by @section.
+ * Displays Epiphany's help, opening the page indicated by @page.
*
* Note that @parent is used to know the #GdkScreen where to open the help
* window.
**/
void
ephy_gui_help (GtkWidget *parent,
- const char *section)
+ const char *page)
{
GError *error = NULL;
GdkScreen *screen;
char *url;
- if (section)
- url = g_strdup_printf ("ghelp:epiphany?%s", section);
+ if (page)
+ url = g_strdup_printf ("help:epiphany/%s", page);
else
- url = g_strdup ("ghelp:epiphany");
+ url = g_strdup ("help:epiphany");
if (parent)
screen = gtk_widget_get_screen (parent);