diff --git a/shell/Friends.py b/shell/Friends.py index 88189f54..6beca663 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 9c53be4c..caadc78b 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)