convert KEY_PRESS
svn: r19951
This commit is contained in:
1 parent
5678f5df54
commit
2a6790d795
12 files changed
+13
-12
No files matched your search
@@ -1873,7 +1873,7 @@ def has_children(db,p):
|
||||
def button_activated(event, mouse_button):
|
||||
if (event.type == Gdk.EventType.BUTTON_PRESS and
|
||||
event.button == mouse_button) or \
|
||||
(event.type == Gdk.KEY_PRESS and
|
||||
(event.type == Gdk.EventType.KEY_PRESS and
|
||||
event.keyval in (_RETURN, _KP_ENTER, _SPACE)):
|
||||
return True
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user