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
703a8d71ae
commit
aa7e043f2d
@ -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