From: Mark Doffman Date: Tue, 9 Jun 2009 08:48:52 +0000 (+0100) Subject: 2009-06-09 Mark Doffman X-Git-Tag: AT_SPI2_ATK_0_1_3~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56af2f471b3c7c39fb47d94ee4f39d1c18acc419;p=platform%2Fupstream%2Fat-spi2-atk.git 2009-06-09 Mark Doffman * pyatspi/*py Add a cache refresh method to the desktop object. --- diff --git a/pyatspi/applicationcache.py b/pyatspi/applicationcache.py index 96a9830..2eeb27b 100644 --- a/pyatspi/applicationcache.py +++ b/pyatspi/applicationcache.py @@ -233,4 +233,8 @@ class ApplicationCache(object): """ return self._connection + def _refresh(self): + self.application_list = [] + self.application_list.extend(self._app_register.getApplications()) + #END---------------------------------------------------------------------------- diff --git a/pyatspi/desktop.py b/pyatspi/desktop.py index f66e75c..ed6a9ee 100644 --- a/pyatspi/desktop.py +++ b/pyatspi/desktop.py @@ -359,6 +359,6 @@ class Desktop(object): % (interface, self._acc_path)) def refresh(self): - pass + self._appcache._refresh() #END----------------------------------------------------------------------------