Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-14 11:11:59 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-14 11:11:59 (GMT)
commit614d9336cc24ded53c17a3bee43148a90337e6c7 (patch)
treee3a68a1391ecda7a3fbbc7993d5aa0cb45ba68a4 /sugar
parent96a2de4e74423b94fdf313c242c97b79b94069f9 (diff)
#2149, #2150: fixes for the clipboard palette.
Diffstat (limited to 'sugar')
-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):