Fixed the final two synchronous calls I could find
[jamaendo] / jamaui / ui.py
index 777bfd0..ac1c6a8 100644 (file)
@@ -131,7 +131,7 @@ class Jamaui(object):
             self.window.window.set_back_pixmap(background, False)
 
         bbox = gtk.HButtonBox()
-        alignment = gtk.Alignment(xalign=0.2, yalign=0.28, xscale=1.0)
+        alignment = gtk.Alignment(xalign=0.2, yalign=0.4, xscale=1.0)
         alignment.add(bbox)
         bbox.set_property('layout-style', gtk.BUTTONBOX_SPREAD)
         self.bbox = bbox
@@ -207,7 +207,8 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 """)
         dialog.set_authors(("Kristoffer Gronlund <kristoffer.gronlund@purplescout.se>",
-                            "Based on Panucci, written by Thomas Perl <thpinfo.com>"))
+                            "Based on Panucci, written by Thomas Perl <thpinfo.com>",
+                            "Icons by Joseph Wain <http://glyphish.com/>"))
         dialog.set_comments("""Jamaendo plays music from the music catalog of JAMENDO.
 
 JAMENDO is an online platform that distributes musical works under Creative Commons licenses.""")
@@ -285,7 +286,9 @@ JAMENDO is an online platform that distributes musical works under Creative Comm
         self.create_menu()
         self.setup_widgets()
         self.window.show_all()
+        gtk.gdk.threads_enter()
         gtk.main()
+        gtk.gdk.threads_leave()
         ossohelper.application_exit()
 
 if __name__=="__main__":