[tomboy] Open right version of online help for mac and win
- From: Stefan Schweizer <sschweiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tomboy] Open right version of online help for mac and win
- Date: Mon, 18 Oct 2010 15:58:41 +0000 (UTC)
commit edee8ee4975c4600e9649b39f666d446c2ba7690
Author: Stefan Schweizer <steve schweizer gmail com>
Date: Mon Oct 18 17:49:25 2010 +0200
Open right version of online help for mac and win
https://bugzilla.gnome.org/show_bug.cgi?id=632440
Tomboy/MacApplication.cs | 3 ++-
Tomboy/WindowsApplication.cs | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/Tomboy/MacApplication.cs b/Tomboy/MacApplication.cs
index 66841c2..e96186b 100644
--- a/Tomboy/MacApplication.cs
+++ b/Tomboy/MacApplication.cs
@@ -291,7 +291,8 @@ namespace Tomboy
public virtual void DisplayHelp (string project, string page, Gdk.Screen screen)
{
- OpenUrl (string.Format("http://library.gnome.org/users/{0}/", project), screen);
+ string version = Defines.VERSION.Remove (Defines.VERSION.LastIndexOf ('.'));
+ OpenUrl (string.Format ("http://library.gnome.org/users/{0}/{1}", project, version), screen);
}
#endregion
diff --git a/Tomboy/WindowsApplication.cs b/Tomboy/WindowsApplication.cs
index 620a143..bfa8324 100644
--- a/Tomboy/WindowsApplication.cs
+++ b/Tomboy/WindowsApplication.cs
@@ -120,7 +120,8 @@ namespace Tomboy
public virtual void DisplayHelp (string project, string page, Gdk.Screen screen)
{
- OpenUrl (string.Format("http://library.gnome.org/users/{0}/", project), screen);
+ string version = Defines.VERSION.Remove (Defines.VERSION.LastIndexOf ('.'));
+ OpenUrl (string.Format ("http://library.gnome.org/users/{0}/{1}", project, version), screen);
}
#endregion
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]