[rhythmbox] jamendo: fix gtk.show_uri() invocations so they actually work



commit 02af4ceb08f8e7393efdfebe86e7b68e23cb8f1d
Author: Jonathan Matthew <jonathan d14n org>
Date:   Fri Feb 26 22:23:40 2010 +1000

    jamendo: fix gtk.show_uri() invocations so they actually work
    
    JamendoSource stores the shell as a GObject property, not a python
    attribute.

 plugins/jamendo/jamendo/JamendoSource.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/jamendo/jamendo/JamendoSource.py b/plugins/jamendo/jamendo/JamendoSource.py
index a33369c..d8f70a7 100644
--- a/plugins/jamendo/jamendo/JamendoSource.py
+++ b/plugins/jamendo/jamendo/JamendoSource.py
@@ -307,7 +307,7 @@ class JamendoSource(rb.BrowserSource):
 			gtk.MessageDialog(None, 0, gtk.MESSAGE_INFO, gtk.BUTTONS_OK, emsg).run()
 			return
 
-		gtk.show_uri(self.shell.props.window.get_screen(), result, gtk.gdk.CURRENT_TIME)
+		gtk.show_uri(self.props.shell.props.window.get_screen(), result, gtk.gdk.CURRENT_TIME)
 
 	# Donate to Artist
 	def launch_donate (self):
@@ -330,7 +330,7 @@ class JamendoSource(rb.BrowserSource):
 			emsg = _("Error looking up artist %s on jamendo.com") % (artist)
 			gtk.MessageDialog(None, 0, gtk.MESSAGE_INFO, gtk.BUTTONS_OK, emsg).run()
 			return
-		gtk.show_uri(self.shell.props.window.get_screen(), result + "donate/", gtk.gdk.CURRENT_TIME)
+		gtk.show_uri(self.props.shell.props.window.get_screen(), result + "donate/", gtk.gdk.CURRENT_TIME)
 
 	def playing_entry_changed (self, entry):
 		if not self.__db or not entry:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]