~mvo/software-center/update-sc-cmdline-flexibility

« back to all changes in this revision

Viewing changes to softwarecenter/view/appview.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:
29
29
import time
30
30
import xapian
31
31
 
32
 
if os.path.exists("./softwarestore/enums.py"):
 
32
if os.path.exists("./softwarecenter/enums.py"):
33
33
    sys.path.insert(0, ".")
34
 
from softwarestore.enums import *
35
 
from softwarestore.db.database import StoreDatabase, Application
 
34
from softwarecenter.enums import *
 
35
from softwarecenter.db.database import StoreDatabase, Application
36
36
 
37
37
class AppStore(gtk.GenericTreeModel):
38
38
    """ 
209
209
        icons = gtk.icon_theme_get_default()
210
210
        self._arrow_space = AppStore.ICON_SIZE + self.ARROW_PADDING
211
211
        try:
212
 
            self._forward = icons.load_icon("software-store-arrow-button", 
 
212
            self._forward = icons.load_icon("software-center-arrow-button", 
213
213
                                            AppStore.ICON_SIZE, 0)
214
214
        except glib.GError:
215
215
            # icon not present in theme, probably because running uninstalled
306
306
        gtk.TreeView.__init__(self)
307
307
        self.set_fixed_height_mode(True)
308
308
        self.set_headers_visible(False)
309
 
        tp = CellRendererPixbufWithOverlay("software-store-installed")
 
309
        tp = CellRendererPixbufWithOverlay("software-center-installed")
310
310
        column = gtk.TreeViewColumn("Icon", tp, 
311
311
                                    pixbuf=AppStore.COL_ICON,
312
312
                                    overlay=AppStore.COL_INSTALLED_OVERLAY)