Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/graphics/palettewindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/graphics/palettewindow.py')
-rw-r--r--src/sugar/graphics/palettewindow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sugar/graphics/palettewindow.py b/src/sugar/graphics/palettewindow.py
index d08052f..6b3ce42 100644
--- a/src/sugar/graphics/palettewindow.py
+++ b/src/sugar/graphics/palettewindow.py
@@ -371,7 +371,8 @@ class PaletteWindow(gtk.Window):
self.on_leave(event)
def __show_cb(self, widget):
- self._invoker.notify_popup()
+ if self._invoker is not None:
+ self._invoker.notify_popup()
self._up = True
self.emit('popup')