X-Git-Url: http://git.maemo.org/git/?p=jamaendo;a=blobdiff_plain;f=jamaui%2Fui.py;h=5732ee7c75f3a715fe0679d8bb24ba70cf4baa96;hp=dda0eccd0014c8d4bfa507d4e4a1c1f1f42c3193;hb=bc2d10958e2ca043e6ac3e9b38783091e721c94c;hpb=bfda1c4c14e85f118b8396f3c82cec119a689d09 diff --git a/jamaui/ui.py b/jamaui/ui.py index dda0ecc..5732ee7 100644 --- a/jamaui/ui.py +++ b/jamaui/ui.py @@ -170,10 +170,14 @@ class Jamaui(object): jamaendo.get_images_async(self.got_images, urls) def got_album_cover(self, albumid, size, cover): + gtk.gdk.threads_enter() postoffice.notify('album-cover', albumid, size, cover) + gtk.gdk.threads_leave() def got_images(self, images): + gtk.gdk.threads_enter() postoffice.notify('images', images) + gtk.gdk.threads_leave() #def add_featured_button(self): # self.featured_sel = hildon.TouchSelector(text=True)