Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/panel/FriendsPanel.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/panel/FriendsPanel.py')
-rw-r--r--shell/panel/FriendsPanel.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/panel/FriendsPanel.py b/shell/panel/FriendsPanel.py
index aec995e..b7e9dc3 100644
--- a/shell/panel/FriendsPanel.py
+++ b/shell/panel/FriendsPanel.py
@@ -24,8 +24,8 @@ class ActionsBar(goocanvas.Group):
self.add_icon(icon)
def add_icon(self, icon):
- self._y += (self._width + 6)
icon.set_property('y', self._y)
+ self._y += (self._width + 6)
self.add_child(icon)
def __share_clicked_cb(self, item):
@@ -48,5 +48,4 @@ class FriendsPanel(Panel):
Panel.construct(self)
actions_bar = ActionsBar(self._shell, self.get_width())
- actions_bar.translate(self.get_border(), self.get_border())
self.get_root().add_child(actions_bar)