~aaronp/software-center/review-refactor

« back to all changes in this revision

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

  • Committer: Aaron Peachey
  • Date: 2012-08-28 10:48:03 UTC
  • mfrom: (2822.2.305 trunk)
  • Revision ID: alpeachey@gmail.com-20120828104803-3qrqi07yjds396zo
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
from basepane import BasePane
31
31
from softwarecenter.enums import Icons
32
32
from softwarecenter.ui.gtk3.session.viewmanager import get_viewmanager
33
 
from softwarepane import DisplayState
 
33
 
 
34
from softwarecenter.ui.gtk3.session.displaystate import DisplayState
34
35
 
35
36
 
36
37
class HistoryPane(Gtk.VBox, BasePane):
160
161
        self.busy_cursor = Gdk.Cursor.new(Gdk.CursorType.WATCH)
161
162
 
162
163
    def init_view(self):
163
 
        if self.history == None:
 
164
        if self.history is None:
164
165
            # if the history is not yet initialized we have to load and parse
165
166
            # it show a spinner while we do that
166
167
            self.realize()