[banshee] AmazonMp3.Store: Use String.Concat and const for redirect URL
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] AmazonMp3.Store: Use String.Concat and const for redirect URL
- Date: Tue, 12 Apr 2011 23:56:49 +0000 (UTC)
commit 6b571b8b755cd77b4311da0239da5c69eadaba7d
Author: Gabriel Burt <gabriel burt gmail com>
Date: Tue Apr 12 18:54:04 2011 -0500
AmazonMp3.Store: Use String.Concat and const for redirect URL
.../Banshee.AmazonMp3.Store/StoreView.cs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs b/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs
index fa75659..21d45fd 100644
--- a/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs
+++ b/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs
@@ -42,6 +42,11 @@ namespace Banshee.AmazonMp3.Store
{
public class StoreView : WebView
{
+ // We ask that no one change this redirect URL. ALL (100%) revenue
+ // generated by this Banshee Amazon integration is sent directly to the
+ // non-profit GNOME Foundation.
+ public const string REDIRECT_URL = "http://integrated-services.banshee.fm/amz/redirect.do/";
+
private static string [] domains = new [] {
"com",
"co.uk",
@@ -189,7 +194,7 @@ namespace Banshee.AmazonMp3.Store
public string GetActionUrl (string action)
{
- return "http://integrated-services.banshee.fm/amz/redirect.do/" + Country + "/" + action;
+ return String.Concat (REDIRECT_URL, Country, "/", action);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]