gtk2 -> gtk3

This commit is contained in:
Yann Leboulanger 2013-12-30 16:27:47 +01:00
parent 9e39f8d01f
commit ffa078ec03
1 changed files with 4 additions and 4 deletions

View File

@ -2074,12 +2074,12 @@ class ChatControl(ChatControlBase):
"""
Just moved the mouse so show the cursor
"""
cursor = gtk.gdk.Cursor(gtk.gdk.LEFT_PTR)
self.parent_win.window.window.set_cursor(cursor)
cursor = Gdk.Cursor.new(Gdk.CursorType.LEFT_PTR)
self.parent_win.window.get_window().set_cursor(cursor)
def on_location_eventbox_enter_notify_event(self, widget, event):
cursor = gtk.gdk.Cursor(gtk.gdk.HAND2)
self.parent_win.window.window.set_cursor(cursor)
cursor = Gdk.Cursor.new(Gdk.CursorType.HAND2)
self.parent_win.window.get_window().set_cursor(cursor)
def _on_window_motion_notify(self, widget, event):
"""