Refresh the package cache in the upgrade view
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 23 Feb 2010 11:00:36 +0000 (12:00 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 23 Feb 2010 18:10:54 +0000 (19:10 +0100)
commit1c018826a618a0f975d9b444d0a7710daeb3a72d
tree9f1156a88b981e16992400d1a5ffe3178b6dd76e
parentc41b4370e71693ab73f1f5229bb6f01a98eda874
Refresh the package cache in the upgrade view

* src/main.cc (suavarc_refresh_package_cache): retry if we're still in the
  upgrade view but the package list is no ready yet.
  (show_upgrade_applications_view_and_refresh_callback): call the cache
  refreshing in two seconds.
src/main.cc