X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=jamaui%2Falbumlist.py;h=5c82637d891f5e8a0d78d97bd399adb424afa518;hb=38cb45f4c0c4231bda9a0466ad29e5804ced0f0a;hp=ce1671aa4af705c480263ba036879e816538be17;hpb=facd2a5710fb05ac80d55ed8e1af8184fb496c02;p=jamaendo 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: