~mvo/software-center/fix-init

« back to all changes in this revision

Viewing changes to softwarecenter/view/viewswitcher.py

  • Committer: Michael Vogt
  • Date: 2009-09-25 15:30:34 UTC
  • Revision ID: michael.vogt@ubuntu.com-20090925153034-vf6oqy9j66fc6jcz
renamed to "Ubuntu Software Center" and software-center (LP: #436648)

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
 
106
106
    ICON_SIZE = 24
107
107
 
108
 
    ANIMATION_PATH = "/usr/share/icons/hicolor/24x24/status/softwarestore-progress-*.png"
 
108
    ANIMATION_PATH = "/usr/share/icons/hicolor/24x24/status/softwarecenter-progress-*.png"
109
109
 
110
110
    __gsignals__ = {'transactions-changed' : (gobject.SIGNAL_RUN_LAST,
111
111
                                              gobject.TYPE_NONE,
120
120
        self._pending = 0
121
121
        # setup the normal stuff
122
122
        try:
123
 
            icon = AnimatedImage(self.icons.load_icon("softwarestore", self.ICON_SIZE, 0))
 
123
            icon = AnimatedImage(self.icons.load_icon("softwarecenter", self.ICON_SIZE, 0))
124
124
        except glib.GError:
125
125
            # icon not present in theme, probably because running uninstalled
126
126
            icon = AnimatedImage(self.icons.load_icon("gtk-missing-image", 
183
183
    elif os.path.exists("./data"):
184
184
        datadir = "./data"
185
185
    else:
186
 
        datadir = "/usr/share/software-store"
 
186
        datadir = "/usr/share/software-center"
187
187
 
188
188
    scroll = gtk.ScrolledWindow()
189
189
    icons = gtk.icon_theme_get_default()