Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2007-09-29 22:20:27 (GMT)
committer Benjamin Berg <benjamin@sipsolutions.net>2007-09-29 22:20:27 (GMT)
commit45efe5eff6cb1959c6ff7b8868605bf3b09d9b06 (patch)
tree95ca5ff87bbd57f30bace732a8c32d02b96c3323
parent44b7eaefcc5b97d57268988dd5d545cc1cd8ec5a (diff)
Call the correct remove function when removing old content from palettes.
-rw-r--r--sugar/graphics/palette.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py
index b12d0a6..aaf6f6a 100644
--- a/sugar/graphics/palette.py
+++ b/sugar/graphics/palette.py
@@ -188,7 +188,7 @@ class Palette(gtk.Window):
def set_content(self, widget):
if len(self._content.get_children()) > 0:
- self.remove(self._content.get_children()[0])
+ self._content.remove(self._content.get_children()[0])
if widget is not None:
self._content.add(widget)