gtk2 -> gtk3
This commit is contained in:
parent
9e39f8d01f
commit
ffa078ec03
|
@ -2074,12 +2074,12 @@ class ChatControl(ChatControlBase):
|
||||||
"""
|
"""
|
||||||
Just moved the mouse so show the cursor
|
Just moved the mouse so show the cursor
|
||||||
"""
|
"""
|
||||||
cursor = gtk.gdk.Cursor(gtk.gdk.LEFT_PTR)
|
cursor = Gdk.Cursor.new(Gdk.CursorType.LEFT_PTR)
|
||||||
self.parent_win.window.window.set_cursor(cursor)
|
self.parent_win.window.get_window().set_cursor(cursor)
|
||||||
|
|
||||||
def on_location_eventbox_enter_notify_event(self, widget, event):
|
def on_location_eventbox_enter_notify_event(self, widget, event):
|
||||||
cursor = gtk.gdk.Cursor(gtk.gdk.HAND2)
|
cursor = Gdk.Cursor.new(Gdk.CursorType.HAND2)
|
||||||
self.parent_win.window.window.set_cursor(cursor)
|
self.parent_win.window.get_window().set_cursor(cursor)
|
||||||
|
|
||||||
def _on_window_motion_notify(self, widget, event):
|
def _on_window_motion_notify(self, widget, event):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue