summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fringlib/fringui.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fringlib/fringui.py b/src/fringlib/fringui.py
index 73294f8..feb609c 100644
--- a/src/fringlib/fringui.py
+++ b/src/fringlib/fringui.py
@@ -289,16 +289,16 @@ class UI( gtk.Window ):
else: self.__set_cursor(CURSOR_NONE)
def __set_cursor(self, cursor):
- if self.window is None: return
+ if self.eventbox.window is None: return
if self.cursor == cursor: return
self.cursor = cursor
if cursor == CURSOR_NONE:
- self.window.set_cursor(None)
+ self.eventbox.window.set_cursor(None)
elif cursor == CURSOR_BUSY:
- self.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH))
+ self.eventbox.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH))
elif cursor == CURSOR_LINK:
- self.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.HAND1))
+ self.eventbox.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.HAND1))
#--------------------------------------------------- gobject event callbacks