[hamster-applet] return of the sharpness
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] return of the sharpness
- Date: Mon, 27 Sep 2010 10:16:35 +0000 (UTC)
commit bdc42ca1eefeead663757c15b745581e22a5880c
Author: Toms Bauģis <toms baugis gmail com>
Date: Fri Sep 24 23:44:01 2010 +0100
return of the sharpness
src/hamster/widgets/dayline.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/hamster/widgets/dayline.py b/src/hamster/widgets/dayline.py
index e54225f..4c06a68 100644
--- a/src/hamster/widgets/dayline.py
+++ b/src/hamster/widgets/dayline.py
@@ -50,7 +50,7 @@ class Selection(graphics.Sprite):
self.graphics.rectangle(0, 0, self.width, self.height)
self.graphics.fill(self.fill, 0.3)
- self.graphics.rectangle(0, 0, self.width, self.height)
+ self.graphics.rectangle(0.5, 0.5, self.width, self.height)
self.graphics.stroke(self.fill)
@@ -167,7 +167,7 @@ class DayLine(graphics.Scene):
self.drag_start = self.current_x
self.chosen_selection.visible = False
- def on_mouse_up(self, scene):
+ def on_mouse_up(self, scene, event):
if self.drag_start:
self.drag_start = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]