diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-07-14 11:11:59 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-07-14 11:11:59 (GMT) |
commit | 614d9336cc24ded53c17a3bee43148a90337e6c7 (patch) | |
tree | e3a68a1391ecda7a3fbbc7993d5aa0cb45ba68a4 /sugar/graphics | |
parent | 96a2de4e74423b94fdf313c242c97b79b94069f9 (diff) |
#2149, #2150: fixes for the clipboard palette.
Diffstat (limited to 'sugar/graphics')
-rw-r--r-- | sugar/graphics/palette.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py index b15f473..03d1b16 100644 --- a/sugar/graphics/palette.py +++ b/sugar/graphics/palette.py @@ -327,7 +327,7 @@ class _ContentMenuItem(gtk.MenuItem): self.add(widget) def is_empty(self): - return self.child is None + return self.child is None or not self.child.props.visible class _ButtonBarMenuItem(gtk.MenuItem): def __init__(self): |