[kupfer] plugin.windows: Remove gtk event time assert
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] plugin.windows: Remove gtk event time assert
- Date: Wed, 16 Dec 2009 00:25:29 +0000 (UTC)
commit b59ab6dc17bed31b4a7861f6b46939f861336f21
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Wed Dec 16 00:55:07 2009 +0100
plugin.windows: Remove gtk event time assert
This assert has helped to make sure we correctly activate window
actions inside a gtk event and have the right interactive behavior.
However, this gtk event time definedness is now (sometimes) violated
if we use the Run After Delay... action.
So we remove this restriction, even though it deserves to be checked
also in the future.
kupfer/plugin/windows.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/plugin/windows.py b/kupfer/plugin/windows.py
index 39e3eb1..31525ac 100644
--- a/kupfer/plugin/windows.py
+++ b/kupfer/plugin/windows.py
@@ -80,7 +80,6 @@ class WindowAction (Action):
# @time will be != 0 if we are "inside"
# a current gtk event
time = gtk.get_current_event_time()
- assert time, "Window action event.time == 0"
action_method(time)
else:
action_method()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]