X-Git-Url: http://git.maemo.org/git/?p=jamaendo;a=blobdiff_plain;f=jamaui%2Falbumlist.py;fp=jamaui%2Falbumlist.py;h=5c82637d891f5e8a0d78d97bd399adb424afa518;hp=ce1671aa4af705c480263ba036879e816538be17;hb=f536730708b5a4e15f525f23f4637802ed8c2431;hpb=159e954ca76c68d675f053b2991d77272bb43a78 diff --git a/jamaui/albumlist.py b/jamaui/albumlist.py index ce1671a..5c82637 100644 --- a/jamaui/albumlist.py +++ b/jamaui/albumlist.py @@ -7,6 +7,12 @@ import logging log = logging.getLogger(__name__) +class ImageDownloader(object): + """ + TODO: background downloader of images + for album lists, track lists, etc + """ + class AlbumList(gtk.TreeView): def __init__(self): gtk.TreeView.__init__(self) @@ -89,8 +95,8 @@ class RadioList(gtk.TreeView): def get_radio_id(self, path): treeiter = self.__store.get_iter(path) - _, _id = self.__store.get(treeiter, 0, 1) - return _id + name, _id = self.__store.get(treeiter, 0, 1) + return name, _id def radio_name(self, radio): if radio.idstr: