[Xfce4-commits] <xfce4-panel:master> Common: Update online documentation help location.

Nick Schermer noreply at xfce.org
Mon Apr 25 21:50:01 CEST 2011


Updating branch refs/heads/master
         to 0f8f55c3d1bc0a8aef17e840efcadae95af97908 (commit)
       from c76299859a51bdb1fa364b012083f8e24b412a3e (commit)

commit 0f8f55c3d1bc0a8aef17e840efcadae95af97908
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Apr 25 20:54:25 2011 +0200

    Common: Update online documentation help location.

 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 b31ee44..e8c5d7c 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);



More information about the Xfce4-commits mailing list