convert KEY_PRESS
svn: r19951
This commit is contained in:
@@ -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