~mmcg069/software-center/lobby-tweaks

« back to all changes in this revision

Viewing changes to softwarecenter/ui/gtk3/panes/viewswitcher.py

  • Committer: Michael Vogt
  • Date: 2011-08-18 16:00:33 UTC
  • Revision ID: michael.vogt@ubuntu.com-20110818160033-twlfwq1ezotzeaeq
* softwarecenter/ui/gtk3/panes/viewswitcher.py:
  - fix switching back to the main page when clicking on 
    "All software" (LP: #828675)

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        return
141
141
 
142
142
    def on_section_sel_clicked(self, button, view_id):
143
 
        if self._prev_view is view_id:
144
 
            return True
 
143
        # mvo: this check causes bug LP: #828675
 
144
        #if self._prev_view is view_id:
 
145
        #    return True
145
146
 
146
147
        vm = self.view_manager
147
148