Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-09-08 14:27:17 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-09-08 14:27:17 (GMT)
commit03aa33566162601d65fda9e7d137234b06b52057 (patch)
tree1f0f722fd1c5b2302223787cdb86eceae60d4aff /shell
parent3e82db03c0471bed8fc2f6f426a4b66f54c2a0fb (diff)
Fix friends colors
Diffstat (limited to 'shell')
-rw-r--r--shell/Friends.py2
-rw-r--r--shell/frame/BottomPanel.py5
2 files changed, 6 insertions, 1 deletions
diff --git a/shell/Friends.py b/shell/Friends.py
index 88189f5..6beca66 100644
--- a/shell/Friends.py
+++ b/shell/Friends.py
@@ -71,7 +71,7 @@ class Friends(gobject.GObject):
for friend in self:
section = friend.get_name()
cp.add_section(section)
- cp.set(section, 'color', friend.get_color().get_fill_color())
+ cp.set(section, 'color', friend.get_color().to_string())
fileobject = open(self._path, 'w')
cp.write(fileobject)
diff --git a/shell/frame/BottomPanel.py b/shell/frame/BottomPanel.py
index 9c53be4..caadc78 100644
--- a/shell/frame/BottomPanel.py
+++ b/shell/frame/BottomPanel.py
@@ -77,4 +77,9 @@ class BottomPanel(GridGroup):
def add_invite(self, invite):
item = InviteItem(invite)
item.connect('clicked', self.__invite_clicked_cb)
+
+ col = self.get_n_children() + 1
+ constraints = GridConstraints(col, 0, 1, 1, 6)
+ self._layout.set_constraints(item, constraints)
+
self.add_child(item)