/offlineimap/head: changeset 295

Got Tk working again. Woohoo.
This commit is contained in:
jgoerzen 2003-01-03 08:08:10 +01:00
parent 8e3b18f375
commit d59f7abdaa
2 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,10 @@ offlineimap (3.99.6) unstable; urgency=low
patch from Kyler Laird in patch from Kyler Laird in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=173895. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=173895.
Closes: #173895. Closes: #173895.
* Fixed the threaded Tcl/Tk problem completely.
* Caused the LocalStatus handler to save its file after each change.
A crash mid-folder-sync should no longer cause all sorts of things
to be re-synced. Closes: #173530.
-- John Goerzen <jgoerzen@complete.org> Thu, 2 Jan 2003 13:59:44 -0600 -- John Goerzen <jgoerzen@complete.org> Thu, 2 Jan 2003 13:59:44 -0600

View File

@ -165,7 +165,6 @@ class VerboseUI(UIBase):
self.created.wait() self.created.wait()
del self.created del self.created
time.sleep(1)
if doidlevac: if doidlevac:
t = threadutil.ExitNotifyThread(target = self.idlevacuum, t = threadutil.ExitNotifyThread(target = self.idlevacuum,
@ -176,7 +175,7 @@ class VerboseUI(UIBase):
def _runmainloop(s): def _runmainloop(s):
s.top = Tk() s.top = Tk()
s.top.title(version.productname + " " + version.versionstr) s.top.title(version.productname + " " + version.versionstr)
s.created.set() s.top.after_idle(s.created.set)
s.top.mainloop() s.top.mainloop()
s.notdeleted = 0 s.notdeleted = 0