SF.net SVN: geany: [2376] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Mar 21 13:42:31 UTC 2008


Revision: 2376
          http://geany.svn.sourceforge.net/geany/?rev=2376&view=rev
Author:   eht16
Date:     2008-03-21 06:42:31 -0700 (Fri, 21 Mar 2008)

Log Message:
-----------
When opening the manual on the website, include version string to ensure the appropriate manual version is shown.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/callbacks.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-03-21 13:05:47 UTC (rev 2375)
+++ trunk/ChangeLog	2008-03-21 13:42:31 UTC (rev 2376)
@@ -1,3 +1,10 @@
+2008-03-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/callbacks.c:
+   When opening the manual on the website, include version string to
+   ensure the appropriate manual version is shown.
+
+
 2008-03-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * src/notebook.c:

Modified: trunk/src/callbacks.c
===================================================================
--- trunk/src/callbacks.c	2008-03-21 13:05:47 UTC (rev 2375)
+++ trunk/src/callbacks.c	2008-03-21 13:42:31 UTC (rev 2376)
@@ -1311,7 +1311,7 @@
 	if (! g_file_test(uri + skip, G_FILE_TEST_IS_REGULAR))
 	{	/* fall back to online documentation if it is not found on the hard disk */
 		g_free(uri);
-		uri = g_strconcat(GEANY_HOMEPAGE, "manual/index.html", NULL);
+		uri = g_strconcat(GEANY_HOMEPAGE, "manual/", VERSION, "/index.html", NULL);
 	}
 
 	utils_start_browser(uri);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list