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:
parent
9b45e7652f
commit
2e3724f2f3
@ -57,7 +57,7 @@ if has_display():
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
def realize_cb(widget):
|
def realize_cb(widget):
|
||||||
widget.get_root_window().set_cursor(HAND_CURSOR)
|
widget.get_window().set_cursor(HAND_CURSOR)
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -67,7 +67,7 @@ if has_display():
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
def realize_cb(widget):
|
def realize_cb(widget):
|
||||||
widget.get_root_window().set_cursor(HAND_CURSOR)
|
widget.get_window().set_cursor(HAND_CURSOR)
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user