Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar3/graphics/palettewindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar3/graphics/palettewindow.py')
-rw-r--r--src/sugar3/graphics/palettewindow.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/sugar3/graphics/palettewindow.py b/src/sugar3/graphics/palettewindow.py
index c1aca0e..296a0b1 100644
--- a/src/sugar3/graphics/palettewindow.py
+++ b/src/sugar3/graphics/palettewindow.py
@@ -24,8 +24,8 @@ STABLE.
import logging
from gi.repository import Gtk
+from gi.repository import Gdk
from gi.repository import GObject
-from gi.repository import Hippo
from sugar3.graphics import palettegroup
from sugar3.graphics import animator
@@ -827,11 +827,6 @@ class CanvasInvoker(Invoker):
return ()
def __motion_notify_event_cb(self, button, event):
- if event.detail == Hippo.MOTION_DETAIL_ENTER:
- self.notify_mouse_enter()
- elif event.detail == Hippo.MOTION_DETAIL_LEAVE:
- self.notify_mouse_leave()
-
return False
def __button_release_event_cb(self, button, event):
@@ -842,7 +837,7 @@ class CanvasInvoker(Invoker):
return False
def get_toplevel(self):
- return Hippo.get_canvas_for_item(self._item).get_toplevel()
+ return None
class ToolInvoker(WidgetInvoker):