[Commits] (donn) Use refresh during inter-thread notification

commits at osafoundation.org commits at osafoundation.org
Mon Sep 27 13:08:02 PDT 2004


Commit by: donn
Modified files:
chandler/application/Application.py 1.267 1.268

Log message:
Use refresh during inter-thread notification
  - when calling CallItemMethodAsync() to
    notify the UI thread, it only needs to refresh

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/application/Application.py.diff?r1=text&tr1=1.267&r2=text&tr2=1.268

Index: chandler/application/Application.py
diff -u chandler/application/Application.py:1.267 chandler/application/Application.py:1.268
--- chandler/application/Application.py:1.267	Thu Sep 23 13:08:45 2004
+++ chandler/application/Application.py	Mon Sep 27 13:08:00 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.267 $"
-__date__ = "$Date: 2004/09/23 20:08:45 $"
+__version__ = "$Revision: 1.268 $"
+__date__ = "$Date: 2004/09/27 20:08:00 $"
 __copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -475,9 +475,9 @@
         """
           Private dispatcher for a method call on an item done between threads.
         See CallItemMethodAsync() below for calling details.
-        Does a repository commit to get the changes across from the other thread.
+        Does a repository refresh to get the changes across from the other thread.
         """
-        Globals.repository.commit () # bring changes across from the other thread/view
+        Globals.repository.refresh () # bring changes across from the other thread/view
 
         # unwrap the target item and find the method to call
         item = transportItem.unwrap ()



More information about the Commits mailing list