Пример #1
0
 def load_and_parse_history(self):
     from softwarecenter.db.history import get_pkg_history
     self.history = get_pkg_history()
     # FIXME: a signal from AptHistory is nicer
     while not self.history.history_ready:
         while Gtk.events_pending():
             Gtk.main_iteration()
     self.parse_history()
     self.history.set_on_update(self.parse_history)
Пример #2
0
 def load_and_parse_history(self):
     from softwarecenter.db.history import get_pkg_history
     self.history = get_pkg_history()
     # FIXME: a signal from AptHistory is nicer
     while not self.history.history_ready:
         while Gtk.events_pending():
             Gtk.main_iteration()
     self.parse_history()
     self.history.set_on_update(self.parse_history)
Пример #3
0
 def installation_date(self):
     from softwarecenter.db.history import get_pkg_history
     self._history = get_pkg_history()
     return self._history.get_installed_date(self.pkgname)