Entropy/Spritz:

- fix available packages selection (for install)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2772 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-12-12 09:31:33 +00:00
parent 653247e292
commit 8106fbe551
+3 -1
View File
@@ -382,6 +382,7 @@ class EntropyPackageView:
def run_install_menu_stuff(self, objs):
self.reset_install_menu()
self.selected_objs = objs
objs_len = len(objs)
queued = [x for x in objs if x.queued]
not_queued = [x for x in objs if not x.queued]
@@ -838,7 +839,8 @@ class EntropyPackageView:
def on_install_update_activate(self, widget, action):
busyCursor(self.main_window)
self.add_to_queue(self.selected_objs, action)
if self.selected_objs:
self.add_to_queue(self.selected_objs, action)
self.queueView.refresh()
normalCursor(self.main_window)
self.view.queue_draw()