← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 313: Make FTS quit when ZG disappears

 

------------------------------------------------------------
revno: 313
committer: Michal Hruby <michal.mhr@xxxxxxxxx>
branch nick: bb-fts
timestamp: Thu 2011-10-13 18:17:36 +0200
message:
  Make FTS quit when ZG disappears
modified:
  extensions/fts-python/fts.py


--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/fts-python/fts.py'
--- extensions/fts-python/fts.py	2011-10-10 14:07:42 +0000
+++ extensions/fts-python/fts.py	2011-10-13 16:17:36 +0000
@@ -1268,5 +1268,6 @@
 if __name__ == "__main__":
     mainloop = gobject.MainLoop(is_running=True)
     search_engine = SearchEngineExtension()
+    ZG_CLIENT._iface.connect_exit(lambda: mainloop.quit ())
     mainloop.run()