aboutsummaryrefslogtreecommitdiff
path: root/audio/sonata/files
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-08-03 11:20:55 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-08-03 11:20:55 +0000
commitb10cea9165dfb335d965a01d5ba1f7d6a34fdf4b (patch)
tree0f6bacae5b8bc7b8012d82b3dc20d25321baecbc /audio/sonata/files
parentf0ac650bf46614d96b4dfbc4f51c8e37a49b1ec5 (diff)
downloadports-b10cea9165dfb335d965a01d5ba1f7d6a34fdf4b.tar.gz
ports-b10cea9165dfb335d965a01d5ba1f7d6a34fdf4b.zip
Notes
Diffstat (limited to 'audio/sonata/files')
-rw-r--r--audio/sonata/files/patch-sonata_main.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/sonata/files/patch-sonata_main.py b/audio/sonata/files/patch-sonata_main.py
new file mode 100644
index 000000000000..34c009678bcb
--- /dev/null
+++ b/audio/sonata/files/patch-sonata_main.py
@@ -0,0 +1,10 @@
+--- sonata/main.py.orig 2013-08-03 13:13:21.000000000 +0200
++++ sonata/main.py 2013-08-03 13:14:12.000000000 +0200
+@@ -3400,4 +3400,7 @@ class Base(object):
+ self.on_currsong_notify(force_popup=True)
+
+ def main(self):
++ gtk.gdk.threads_init()
++ gtk.gdk.threads_enter()
+ gtk.main()
++ gtk.gdk.threads_leave()