[hamster-applet] allow to drag the scale since now it does not change the time anymore.



commit 378a9914333b052cd7b6ecdbee52084d3a2bd0ed
Author: Toms Bauģis <toms baugis gmail com>
Date:   Tue Jun 30 15:31:41 2009 +0100

    allow to drag the scale since now it does not change the time anymore.
    changed mouse cursor on scale back to normal

 hamster/edit_activity.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/hamster/edit_activity.py b/hamster/edit_activity.py
index 86032cd..cc21aba 100644
--- a/hamster/edit_activity.py
+++ b/hamster/edit_activity.py
@@ -168,7 +168,6 @@ class Dayline(graphics.Area):
             if self.in_progress:
                 end_drag = False
                 in_between = False
-                scale = False
 
             if mouse_down and not self.drag_start:
                 self.drag_start = x
@@ -224,7 +223,7 @@ class Dayline(graphics.Area):
             elif in_between:
                 area.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.FLEUR))
             else:
-                area.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.SB_H_DOUBLE_ARROW))
+                area.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.ARROW))
                 
         
     def _minutes_from_start(self, date):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]