Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclock.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/clock.py b/clock.py
index 5bbb90a..4bf0ab6 100755
--- a/clock.py
+++ b/clock.py
@@ -962,11 +962,18 @@ font_desc="Sans Bold 40">%d</span></markup>') % (i + 1)
self._motion_cb)
self._release_id = self.connect("button-release-event",
self._release_cb)
+
+ # Put hand cursor
+ self.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.HAND2))
+
else:
self.disconnect(self._press_id)
self.disconnect(self._motion_id)
self.disconnect(self._release_id)
+ # Put original cursor again
+ self.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.LEFT_PTR))
+
# Update again the clock every seconds.
gobject.timeout_add(1000, self._update_cb)