rev 295 - in offlineimap/head: debian offlineimap/ui

[email protected] Thu, 2 Jan 2003 19:08:12 -0600 (CST)
Newsgroups gmane.mail.imap.offlineimap.subversion
Message-ID <[email protected]>
Author: jgoerzen
Date: 2003-01-02 19:08:10 -0600 (Thu, 02 Jan 2003)
New Revision: 295

Modified:
   offlineimap/head/debian/changelog
   offlineimap/head/offlineimap/ui/Tk.py
Log:
Got Tk working again.  Woohoo.


Modified: offlineimap/head/debian/changelog
==============================================================================
--- offlineimap/head/debian/changelog	(original)
+++ offlineimap/head/debian/changelog	Thu Jan  2 19:08:12 2003
@@ -5,6 +5,10 @@
     patch from Kyler Laird in
     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=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 <[email protected]>  Thu,  2 Jan 2003 13:59:44 -0600
 

Modified: offlineimap/head/offlineimap/ui/Tk.py
==============================================================================
--- offlineimap/head/offlineimap/ui/Tk.py	(original)
+++ offlineimap/head/offlineimap/ui/Tk.py	Thu Jan  2 19:08:12 2003
@@ -165,7 +165,6 @@
 
         self.created.wait()
         del self.created
-        time.sleep(1)
 
         if doidlevac:
             t = threadutil.ExitNotifyThread(target = self.idlevacuum,
@@ -176,7 +175,7 @@
     def _runmainloop(s):
         s.top = Tk()
         s.top.title(version.productname + " " + version.versionstr)
-        s.created.set()
+        s.top.after_idle(s.created.set)
         s.top.mainloop()
         s.notdeleted = 0