From 4e8278d4a6dde510c3e9c01380df859e7c7dad27 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 8 Sep 2006 12:15:50 +0200 Subject: [PATCH] Implement clear --- shell/frame/RightPanel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/frame/RightPanel.py b/shell/frame/RightPanel.py index 3c362d24..e47984a3 100644 --- a/shell/frame/RightPanel.py +++ b/shell/frame/RightPanel.py @@ -37,7 +37,8 @@ class RightPanel(GridGroup): pass def clear(self): - pass + while (self.get_n_children() > 0): + self.remove_child(0) def __activity_appeared_cb(self, pservice, activity_ps): activity = self._shell.get_current_activity()