~ubuntu-core-dev/update-manager/main

« back to all changes in this revision

Viewing changes to UpdateManager/UpdateManager.py

  • Committer: Michael Vogt
  • Date: 2007-03-09 15:32:04 UTC
  • Revision ID: michael.vogt@ubuntu.com-20070309153204-6yvc9hklvhyt21xj
* update download size if "check/uncheck" all was selected from 
  right-click menu

Show diffs side-by-side

added added

removed removed

Lines of Context:
590
590
    self.setBusy(True)
591
591
    self.cache.saveDistUpgrade()
592
592
    self.treeview_update.queue_draw()
 
593
    self.refresh_updates_count()
593
594
    self.setBusy(False)
594
595
 
595
596
  def select_none_updgrades(self, widget):
599
600
    self.setBusy(True)
600
601
    self.cache.clear()
601
602
    self.treeview_update.queue_draw()
 
603
    self.refresh_updates_count()
602
604
    self.setBusy(False)
603
605
 
604
606
  def setBusy(self, flag):
704
706
  def on_button_install_clicked(self, widget):
705
707
    #print "on_button_install_clicked"
706
708
    self.invoke_manager(INSTALL)
707
 
 
 
709
    
708
710
  def invoke_manager(self, action):
709
711
    # check first if no other package manager is runing
710
712
 
813
815
  def fillstore(self):
814
816
    # use the watch cursor
815
817
    self.setBusy(True)
816
 
 
817
818
    # clean most objects
818
819
    self.dl_size = 0
819
820
    try:
837
838
        sys.exit(1)
838
839
    self.store.clear()
839
840
    self.list = UpdateList()
840
 
 
841
841
    # fill them again
842
842
    try:
843
843
        self.list.update(self.cache)