From 2bd6a0126ba7de7db8249c65114c37ca9687dc28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristoffer=20Gr=C3=B6nlund?= Date: Fri, 8 Jan 2010 11:59:14 +0100 Subject: [PATCH] Fixed some bugs in showalbum --- jamaui/showalbum.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jamaui/showalbum.py b/jamaui/showalbum.py index 07a0e6d..f1933d2 100644 --- a/jamaui/showalbum.py +++ b/jamaui/showalbum.py @@ -36,7 +36,7 @@ import util import logging from albumlist import TrackList from playlists import add_to_playlist -from fetcher import fetcher +from fetcher import Fetcher import webbrowser @@ -123,10 +123,10 @@ class ShowAlbum(hildon.StackableWindow): if self.fetcher: self.fetcher.stop() self.fetcher = None - self.fetcher = Fetcher(jamaendo.starred_radios, self, - on_item = self.on_radio_result, - on_ok = self.on_radio_complete, - on_fail = self.on_radio_complete) + self.fetcher = Fetcher(lambda: jamaendo.get_tracks(self.album.ID), self, + on_item = self.on_track_result, + on_ok = self.on_track_complete, + on_fail = self.on_track_complete) self.fetcher.start() def on_track_result(self, wnd, item): -- 1.7.9.5