Mercurial > code > home > repos > light9
changeset 935:89adbbb06bcd
vidref run in twisted mainloop
Ignore-this: 537d30af9c1680a2be46c9ec333d63b1
author | drewp@bigasterisk.com |
---|---|
date | Wed, 12 Jun 2013 07:31:29 +0000 |
parents | f92550d33004 |
children | 11aa214cb9a1 |
files | bin/vidref |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/vidref Wed Jun 12 07:31:21 2013 +0000 +++ b/bin/vidref Wed Jun 12 07:31:29 2013 +0000 @@ -1,5 +1,8 @@ #!bin/python from run_local import log +from twisted.internet import gtk2reactor +gtk2reactor.install() +from twisted.internet import reactor import gobject gobject.threads_init() import gtk @@ -24,5 +27,5 @@ start=Main() -gtk.main() +reactor.run()