~osomon/software-center/remember_search

« back to all changes in this revision

Viewing changes to softwarecenter/view/appview.py

  • Committer: Michael Vogt
  • Date: 2010-04-14 21:21:05 UTC
  • Revision ID: michael.vogt@ubuntu.com-20100414212105-ac65a0t43gwe4mh8
re-enable action button if confirm dialog got canceled (LP: #562810)

Show diffs side-by-side

added added

removed removed

Lines of Context:
913
913
            action_in_progress = (model[path][AppStore.COL_ACTION_IN_PROGRESS] != -1)
914
914
        return action_in_progress
915
915
 
 
916
    def get_button(self, key):
 
917
        return self.buttons[key]
 
918
 
916
919
    def _on_realize(self, widget, tr):
917
920
        # tell the cellrenderer the text direction for renderering purposes
918
921
        tr.set_direction(self.get_direction())