Rename _on_mouse_over -> _on_motion in panel.propertyeditor
authorW. Trevor King <wking@drexel.edu>
Mon, 2 Aug 2010 13:22:04 +0000 (09:22 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 2 Aug 2010 13:22:04 +0000 (09:22 -0400)
hooke/ui/gui/panel/propertyeditor.py

index 2d22e45775e2aa9cdafb7d1c7d5691add744ea62..ab2518d3c34b8aaa3bbb57d87a5800999bbffe8e 100644 (file)
@@ -219,9 +219,9 @@ class PropertyPanel(Panel, wx.grid.Grid):
         self.SetColLabelValue(0, 'value')\r
 \r
         self._last_tooltip = None\r
-        self.GetGridWindow().Bind(wx.EVT_MOTION, self._on_mouse_over)\r
+        self.GetGridWindow().Bind(wx.EVT_MOTION, self._on_motion)\r
 \r
-    def _on_mouse_over(self, event):\r
+    def _on_motion(self, event):\r
         """Enable tooltips.\r
         """\r
         x,y = self.CalcUnscrolledPosition(event.GetPosition())\r