Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'sugar/graphics')
-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 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):