[kupfer: 4/10] ui: Reset key held state on different button press.
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer: 4/10] ui: Reset key held state on different button press.
- Date: Tue, 26 Apr 2011 19:56:39 +0000 (UTC)
commit bd700607b290385697e295429948fc661e764148
Author: David Schneider <dnschneid gmail com>
Date: Mon Apr 25 17:45:49 2011 +0200
ui: Reset key held state on different button press.
kupfer/ui/browser.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/ui/browser.py b/kupfer/ui/browser.py
index 35b0bc5..be26ec0 100644
--- a/kupfer/ui/browser.py
+++ b/kupfer/ui/browser.py
@@ -1165,6 +1165,9 @@ class Interface (gobject.GObject):
else:
self._key_press_time = curtime
self._key_pressed = keyv
+ if self._key_held:
+ self._key_held_feedback(False)
+ self._key_held = False
# exit here if it's not a special key
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]