summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
authornecoro <>2006-12-10 01:05:59 +0000
committernecoro <>2006-12-10 01:05:59 +0000
commite368eb59dd4f7388fe93387492ef2e12c3993129 (patch)
tree8b88d52145614d01ff31b28ad16ace39ecca7189 /portato/gui
parent437364739954d8281ad199e2fa0a9fd57ad8c344 (diff)
downloadportato-e368eb59dd4f7388fe93387492ef2e12c3993129.tar.gz
portato-e368eb59dd4f7388fe93387492ef2e12c3993129.tar.bz2
portato-e368eb59dd4f7388fe93387492ef2e12c3993129.zip
made slots work for update_world
Diffstat (limited to '')
-rw-r--r--portato/gui/gtk/windows.py4
-rw-r--r--portato/gui/gui_helper.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 65a9f3f..b0bd803 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -282,8 +282,8 @@ class PackageTable:
self.instantChange = instantChange
# packages and installed packages
- self.packages = backend.sort_package_list(backend.get_all_versions(cp))
- self.instPackages = backend.sort_package_list(backend.get_all_installed_versions(cp))
+ self.packages = backend.sort_package_list(backend.find_packages(cp))
+ self.instPackages = backend.sort_package_list(backend.find_installed_packages(cp))
# version-combo-box
self.vCombo = self.build_vers_combo()
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py
index 0529767..4fb4dba 100644
--- a/portato/gui/gui_helper.py
+++ b/portato/gui/gui_helper.py
@@ -336,7 +336,7 @@ class EmergeQueue:
try:
pkg = self._get_pkg_from_cpv(cpv, unmask)
if not pkg.is_installed():
- old = backend.get_all_installed_versions(pkg.get_cp())
+ old = backend.find_installed_packages(pkg.get_slot_cp())
if old:
old = old[0] # assume we have only one there; FIXME: slotted packages
update = True