Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar

This commit is contained in:
Marco Pesenti Gritti 2007-09-30 03:24:51 +02:00
commit 03a4f01c25

View File

@ -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)