~jaap.karssenberg/zim/pyzim-gtk3

« back to all changes in this revision

Viewing changes to zim/plugins/tasklist.py

  • Committer: Jaap Karssenberg
  • Date: 2014-01-31 11:06:27 UTC
  • mto: (668.1.49 pyzim-refactor)
  • mto: This revision was merged to the branch mainline in revision 676.
  • Revision ID: jaap.karssenberg@gmail.com-20140131110627-t7wyjr801qk6lkqa
Fixed issue with autosaving pages and autosaving versions
Removed zim.async and make it more explicit depent on threading

Show diffs side-by-side

added added

removed removed

Lines of Context:
709
709
                        # now it is at least on idle
710
710
                self.connectto(index_ext, 'tasklist-changed', callback)
711
711
 
712
 
                # Async solution fall because sqlite not multi-threading
713
 
                # (see also todo item for async in DelayedSignal class)
714
 
 
715
 
                #~ def async_call(o):
716
 
                        #~ from zim.async import AsyncOperation
717
 
                        #~ op = AsyncOperation(on_tasklist_changed, args=(o,))
718
 
                        #~ op.start()
719
 
                #~ self.connectto(plugin, 'tasklist-changed', async_call)
720
 
 
721
712
        def do_response(self, response):
722
713
                self.uistate['hpane_pos'] = self.hpane.get_position()
723
714
                self.uistate['only_show_act'] = self.act_toggle.get_active()