~lubuntu-software-center-team/lubuntu-software-center/lubuntu-software-center-trunk

« back to all changes in this revision

Viewing changes to src/main.py

  • Committer: Julien Lavergne
  • Date: 2015-02-17 21:15:49 UTC
  • Revision ID: gilir@ubuntu.com-20150217211549-h5opurt5r1ayo3ps
Tags: 0.0.10
ReleaseĀ 0.0.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
738
738
        self.ui.apps_installed.set_model(self.ui.apps_installed.model)
739
739
        self.ui.apps_message.set_visible(False)
740
740
        self.ui.installed_message.set_visible(False)
741
 
        self.ui.toolbar.set_style(3)
 
741
        if self.ui.toolbar.__class__.__name__ == "Toolbar":
 
742
            self.ui.toolbar.set_style(3)
742
743
        self.packages = []
743
744
        if (not self.startup) and (self.ui.pages.get_page() in [1, 2]):
744
745
            if self.ui.pages.get_page() == 1: