[hamster-applet] emit on-click of the scene even if there was not target (basic clicking) - sync from experiments
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] emit on-click of the scene even if there was not target (basic clicking) - sync from experiments
- Date: Thu, 15 Jul 2010 10:55:37 +0000 (UTC)
commit 99f344111609b3975e0ca8cd281df20f796b0ed9
Author: Toms Bauģis <toms baugis gmail com>
Date: Thu Jul 15 11:54:59 2010 +0100
emit on-click of the scene even if there was not target (basic clicking) - sync from experiments
src/hamster/graphics.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/graphics.py b/src/hamster/graphics.py
index bf28ad6..8cba815 100644
--- a/src/hamster/graphics.py
+++ b/src/hamster/graphics.py
@@ -1093,6 +1093,7 @@ class Scene(gtk.DrawingArea):
if target:
target._on_click(event.state)
- self.emit("on-click", event, target)
+
+ self.emit("on-click", event, target)
self.emit("on-mouse-up")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]