7336: Gramps changes root cursor to hand

Following the suggestion from QuLogic, change get_root_window
to get_window for the set_cursor scope, like in my #6740 fix.
This commit is contained in:
Vassilii Khachaturov 2014-01-04 21:18:18 +02:00
parent 703a8d71ae
commit aa7e043f2d
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ if has_display():
#
#-------------------------------------------------------------------------
def realize_cb(widget):
widget.get_root_window().set_cursor(HAND_CURSOR)
widget.get_window().set_cursor(HAND_CURSOR)
#-------------------------------------------------------------------------
#

View File

@ -67,7 +67,7 @@ if has_display():
#
#-------------------------------------------------------------------------
def realize_cb(widget):
widget.get_root_window().set_cursor(HAND_CURSOR)
widget.get_window().set_cursor(HAND_CURSOR)
#-------------------------------------------------------------------------
#