179.1.92
by rugby471
added config backend |
1 |
# Copyright (C) 2009 Canonical
|
2 |
#
|
|
3 |
# Authors:
|
|
4 |
# Andrew Higginson
|
|
5 |
#
|
|
6 |
# This program is free software; you can redistribute it and/or modify it under
|
|
7 |
# the terms of the GNU General Public License as published by the Free Software
|
|
8 |
# Foundation; version 3.
|
|
9 |
#
|
|
10 |
# This program is distributed in the hope that it will be useful, but WITHOUT
|
|
11 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
12 |
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
13 |
# details.
|
|
14 |
#
|
|
15 |
# You should have received a copy of the GNU General Public License along with
|
|
16 |
# this program; if not, write to the Free Software Foundation, Inc.,
|
|
17 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
18 |
||
19 |
import os |
|
179.1.93
by rugby471
merging some work from history branch (nothing history related strangely enough :-] ) |
20 |
|
179.1.92
by rugby471
added config backend |
21 |
from xdg import BaseDirectory as xdg |
22 |
||
984.1.1
by Michael Vogt
merged lp:~gary-lasker/software-center/new-apps-icons, use gtk.IconTheme() better; still needs removal of the hardcoded PPA name, needs better tests |
23 |
SOFTWARE_CENTER_CONFIG_DIR = os.path.join(xdg.xdg_config_home, "software-center") |
24 |
SOFTWARE_CENTER_CACHE_DIR = os.path.join(xdg.xdg_cache_home, "software-center") |
|
442
by Michael Vogt
merge lp:~rugby471/software-center/software-store-andrew, |
25 |
SOFTWARE_CENTER_CONFIG_FILE = os.path.join(SOFTWARE_CENTER_CONFIG_DIR, "softwarecenter.cfg") |
977.4.2
by Gary Lasker
wire in icon file downloading, pretty rough currently |
26 |
SOFTWARE_CENTER_ICON_CACHE_DIR = os.path.join(SOFTWARE_CENTER_CACHE_DIR, "icons") |