[rhythmbox] magnatune: Redirect the user to the correct URLs
- From: Adam Zimmerman <adamz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rhythmbox] magnatune: Redirect the user to the correct URLs
- Date: Fri, 12 Feb 2010 19:31:56 +0000 (UTC)
commit 57abdf5e722fe7b07030617d7c2fcc5b26da114c
Author: Adam Zimmerman <adamz src gnome org>
Date: Fri Feb 12 11:26:43 2010 -0800
magnatune: Redirect the user to the correct URLs
Let the user sign up for an account, and pass our partner ID as part of
the URL. Also fix the URL parameter used when the user purchases an
album.
plugins/magnatune/magnatune-prefs.ui | 6 +++---
plugins/magnatune/magnatune/MagnatuneSource.py | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/magnatune/magnatune-prefs.ui b/plugins/magnatune/magnatune-prefs.ui
index 1866741..789afd3 100644
--- a/plugins/magnatune/magnatune-prefs.ui
+++ b/plugins/magnatune/magnatune-prefs.ui
@@ -317,7 +317,7 @@
<child>
<object class="GtkLabel" id="label57">
<property name="visible">True</property>
- <property name="label" translatable="yes">Visit Magnatune at </property>
+ <property name="label" translatable="yes">Get an account at </property>
</object>
<packing>
<property name="expand">False</property>
@@ -327,11 +327,11 @@
</child>
<child>
<object class="GtkLinkButton" id="href1">
- <property name="label" translatable="yes">http://www.magnatune.com/</property>
+ <property name="label" translatable="yes">http://magnatune.com/compare_plans</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="uri">http://www.magnatune.com/</property>
+ <property name="uri">http://magnatune.com/compare_plans?referal_id=rhythmbox</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/plugins/magnatune/magnatune/MagnatuneSource.py b/plugins/magnatune/magnatune/MagnatuneSource.py
index d4dc023..c252c06 100644
--- a/plugins/magnatune/magnatune/MagnatuneSource.py
+++ b/plugins/magnatune/magnatune/MagnatuneSource.py
@@ -204,7 +204,7 @@ class MagnatuneSource(rb.BrowserSource):
for tr in tracks:
sku = self.__sku_dict[self.__db.entry_get(tr, rhythmdb.PROP_LOCATION)]
- url = magnatune_buy_album_uri + urllib.urlencode({ 'sku': sku, 'from': magnatune_partner_id })
+ url = magnatune_buy_album_uri + urllib.urlencode({ 'sku': sku, 'ref': magnatune_partner_id })
if url not in urls:
gtk.show_uri(screen, url, gtk.gdk.CURRENT_TIME)
urls.add(url)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]