Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/conf
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-09-08 13:09:10 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-09-08 13:09:10 (GMT)
commit233051875b0eb7466612156fbe7c5d7b33e6ddc4 (patch)
treea97f24500348e742eb6cccfb990f66b68362a8f8 /shell/conf
parent2a2554f157d977efb182e55bb71e5c38d4ae4263 (diff)
Bring around both colors, since multiple combinations can have
the same base color.
Diffstat (limited to 'shell/conf')
-rw-r--r--shell/conf/Profile.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/conf/Profile.py b/shell/conf/Profile.py
index ecc4aba..ced73cf 100644
--- a/shell/conf/Profile.py
+++ b/shell/conf/Profile.py
@@ -18,9 +18,9 @@ class _Profile:
if cp.has_option('Buddy', 'NickName'):
self._nick_name = cp.get('Buddy', 'NickName')
if cp.has_option('Buddy', 'Color'):
- fill_color = cp.get('Buddy', 'Color')
- if IconColor.is_valid(fill_color):
- self._color = IconColor.IconColor(fill_color)
+ color = cp.get('Buddy', 'Color')
+ if IconColor.is_valid(color):
+ self._color = IconColor.IconColor(color)
def _ensure_dirs(self):
try:
@@ -50,7 +50,7 @@ class _Profile:
section = 'Buddy'
cp.add_section(section)
cp.set(section, 'NickName', self._nick_name)
- cp.set(section, 'Color', self._color.get_fill_color())
+ cp.set(section, 'Color', self._color.to_string())
fileobject = open(self._get_config_path(), 'w')
cp.write(fileobject)