Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
This commit is contained in:
commit
03a4f01c25
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user