equal
deleted
inserted
replaced
62 STATUS_COLUMN_INDEX = 2 # Index of Status Column in Application TreeView |
62 STATUS_COLUMN_INDEX = 2 # Index of Status Column in Application TreeView |
63 |
63 |
64 PKG_CLIENT_NAME = "packagemanager" |
64 PKG_CLIENT_NAME = "packagemanager" |
65 |
65 |
66 # Location for themable icons |
66 # Location for themable icons |
67 ICON_LOCATION = "/usr/share/package-manager/icons" |
67 ICON_LOCATION = "usr/share/package-manager/icons" |
68 # Load Start Page from lang dir if available |
68 # Load Start Page from lang dir if available |
69 START_PAGE_CACHE_LANG_BASE = "var/pkg/gui_cache/startpagebase/%s/%s" |
69 START_PAGE_CACHE_LANG_BASE = "var/pkg/gui_cache/startpagebase/%s/%s" |
70 START_PAGE_LANG_BASE = "usr/share/package-manager/data/startpagebase/%s/%s" |
70 START_PAGE_LANG_BASE = "usr/share/package-manager/data/startpagebase/%s/%s" |
71 START_PAGE_HOME = "startpage.html" # Default page |
71 START_PAGE_HOME = "startpage.html" # Default page |
72 |
72 |
245 self.lang = None |
245 self.lang = None |
246 self.lang_root = None |
246 self.lang_root = None |
247 self.visible_status_id = 0 |
247 self.visible_status_id = 0 |
248 self.categories_status_id = 0 |
248 self.categories_status_id = 0 |
249 self.icon_theme = gtk.IconTheme() |
249 self.icon_theme = gtk.IconTheme() |
250 self.icon_theme.append_search_path(ICON_LOCATION) |
250 icon_location = os.path.join(self.application_dir, ICON_LOCATION) |
|
251 self.icon_theme.append_search_path(icon_location) |
251 self.search_options = [ |
252 self.search_options = [ |
252 ('ips-search', |
253 ('ips-search', |
253 gui_misc.get_icon(self.icon_theme, 'search', 20), |
254 gui_misc.get_icon(self.icon_theme, 'search', 20), |
254 _("_Current Repository"), |
255 _("_Current Repository"), |
255 _("Search Current Repository")), |
256 _("Search Current Repository")), |