From 00ab1b13374c5913ca75e4bf0950968617d7e90b Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Sun, 23 Jun 2013 19:33:00 +0000 Subject: [PATCH] 6740: root cursor corruption back-port from trunk, after successful retest by Nick svn: r22574 --- gramps/plugins/view/pedigreeview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/view/pedigreeview.py b/gramps/plugins/view/pedigreeview.py index 363f93f94..9a4f75f7b 100644 --- a/gramps/plugins/view/pedigreeview.py +++ b/gramps/plugins/view/pedigreeview.py @@ -1333,7 +1333,7 @@ class PedigreeView(NavigationView): or call option menu. """ if event.button == 1 and event.type == Gdk.EventType.BUTTON_PRESS: - widget.get_root_window().set_cursor(Gdk.Cursor.new(Gdk.CursorType.FLEUR)) + widget.get_window().set_cursor(Gdk.Cursor.new(Gdk.CursorType.FLEUR)) self._last_x = event.x self._last_y = event.y self._in_move = True @@ -1347,7 +1347,7 @@ class PedigreeView(NavigationView): """Exit from scroll mode when button release.""" if event.button == 1 and event.type == Gdk.EventType.BUTTON_RELEASE: self.cb_bg_motion_notify_event(widget, event) - widget.get_root_window().set_cursor(None) + widget.get_window().set_cursor(None) self._in_move = False return True return False