projects
/
jamaendo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A bit closer to functionality
[jamaendo]
/
jamaui
/
ui.py
diff --git
a/jamaui/ui.py
b/jamaui/ui.py
index
dda0ecc
..
5732ee7
100644
(file)
--- 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):
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)
postoffice.notify('album-cover', albumid, size, cover)
+ gtk.gdk.threads_leave()
def got_images(self, images):
def got_images(self, images):
+ gtk.gdk.threads_enter()
postoffice.notify('images', images)
postoffice.notify('images', images)
+ gtk.gdk.threads_leave()
#def add_featured_button(self):
# self.featured_sel = hildon.TouchSelector(text=True)
#def add_featured_button(self):
# self.featured_sel = hildon.TouchSelector(text=True)