[hamster-applet] show full day minus 15 minutes to avoid jumping to the next day when clicked on last available tick
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] show full day minus 15 minutes to avoid jumping to the next day when clicked on last available tick
- Date: Sun, 11 Apr 2010 18:10:04 +0000 (UTC)
commit f5c818559deee31577e0cfd740237b9c56a71392
Author: Toms Bauģis <toms baugis gmail com>
Date: Sun Apr 11 19:09:57 2010 +0100
show full day minus 15 minutes to avoid jumping to the next day when clicked on last available tick
src/hamster/widgets/dayline.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/widgets/dayline.py b/src/hamster/widgets/dayline.py
index 46aa7b4..3a92e70 100644
--- a/src/hamster/widgets/dayline.py
+++ b/src/hamster/widgets/dayline.py
@@ -214,7 +214,7 @@ class DayLine(graphics.Scene):
vertical = min(self.plot_area.height / 5 , 7)
- minute_pixel = (self.scope_hours * 60.0) / self.width
+ minute_pixel = (self.scope_hours * 60.0 - 15) / self.width
snap_points = []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]