summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
authornecoro <>2007-01-24 23:44:31 +0000
committernecoro <>2007-01-24 23:44:31 +0000
commite0c70e1133b12341a9f14f68e00a44c1a7ea5a18 (patch)
tree5c6a556633ba872cc199412592e6c1cd79334ece /portato/gui
parent3a1d0db1f30133bae568341428d427cf5a5d0495 (diff)
downloadportato-e0c70e1133b12341a9f14f68e00a44c1a7ea5a18.tar.gz
portato-e0c70e1133b12341a9f14f68e00a44c1a7ea5a18.tar.bz2
portato-e0c70e1133b12341a9f14f68e00a44c1a7ea5a18.zip
Small enhancements
Diffstat (limited to '')
-rw-r--r--portato/gui/gtk/windows.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 239606a..3f6a55f 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -779,7 +779,7 @@ class MainWindow (Window):
else:
updating = backend.update_world(newuse = self.cfg.get_boolean("newuse_opt"), deep = self.cfg.get_boolean("deep_opt"))
- debug("updating list:", [(x.get_cpv(), y.get_cpv()) for x,y in updating])
+ debug("updating list:", [(x.get_cpv(), y.get_cpv()) for x,y in updating],"--> length:",len(updating))
try:
try:
for pkg, old_pkg in updating:
@@ -791,6 +791,7 @@ class MainWindow (Window):
except BlockedException, e:
blocked_dialog(e[0], e[1])
+ self.queue.remove_children(self.queue.emergeIt)
if len(updating): self.doUpdate = True
return True
@@ -812,8 +813,7 @@ class MainWindow (Window):
elif model.iter_parent(model.iter_parent(iter)): # this is in the 3rd level => dependency
remove_deps_dialog()
else:
- self.queue.remove_children(iter) # remove children first
- self.queue.remove(iter)
+ self.queue.remove_with_children(iter)
self.doUpdate = False
return True