diff options
author | Nick Schermer <nick@xfce.org> | 2011-04-25 20:54:25 +0200 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2011-04-25 20:55:02 +0200 |
commit | 0f8f55c3d1bc0a8aef17e840efcadae95af97908 (patch) | |
tree | 22038bf7a2808295b914799c7a117863c860a36f /common/panel-utils.c | |
parent | c76299859a51bdb1fa364b012083f8e24b412a3e (diff) | |
download | xfce4-panel-0f8f55c3d1bc0a8aef17e840efcadae95af97908.tar.gz |
Common: Update online documentation help location.
Diffstat (limited to 'common/panel-utils.c')
-rw-r--r-- | common/panel-utils.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/common/panel-utils.c b/common/panel-utils.c index b31ee446..e8c5d7ce 100644 --- a/common/panel-utils.c +++ b/common/panel-utils.c @@ -151,13 +151,17 @@ panel_utils_show_help (GtkWindow *parent, } if (G_LIKELY (exists)) - uri = g_strconcat ("file://", filename, offset != NULL ? "#" : NULL, offset, NULL); + { + uri = g_strconcat ("file://", filename, offset != NULL ? "#" : NULL, offset, NULL); + } else if (xfce_dialog_confirm (parent, "web-browser", _("_Read Online"), _("You can read the user manual online. This manual may however " "not exactly match your panel version."), _("The user manual is not installed on your computer"))) - uri = g_strconcat ("http://foo-projects.org/~nick/docs/xfce4-panel/?lang=", - locale, "&page=", page, "&offset=", offset, NULL); + { + uri = g_strconcat ("http://docs.xfce.org/help.php?package=xfce4-panel&lang=", + locale, "&page=", page, "&anchor=", offset, NULL); + } g_free (filename); g_free (locale); |