Rev 508: Merge fix for key names. in file:///data/jelmer/bzr-gtk/trunk/
Jelmer Vernooij
jelmer at samba.org
Sat Jun 28 16:43:43 BST 2008
At file:///data/jelmer/bzr-gtk/trunk/
------------------------------------------------------------
revno: 508
revision-id: jelmer at samba.org-20080628154342-ecr1dyhf431v0r02
parent: jelmer at samba.org-20080628154251-lys6wjk0tz4uso8i
parent: colbrac at xs4all.nl-20080623080519-qg12vgky7n1ebw0e
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sat 2008-06-28 17:43:42 +0200
message:
Merge fix for key names.
modified:
olive/__init__.py __init__.py-20060925014013-13wdvwl8vi8gfqi1-2
------------------------------------------------------------
revno: 504.1.1
revision-id: colbrac at xs4all.nl-20080623080519-qg12vgky7n1ebw0e
parent: argentina at gmail.com-20080620034329-lrb4we9qa0jw0s26
committer: Jasper Groenewegen <colbrac at xs4all.nl>
branch nick: gtk
timestamp: Mon 2008-06-23 10:05:19 +0200
message:
Fix for LP242144
modified:
olive/__init__.py __init__.py-20060925014013-13wdvwl8vi8gfqi1-2
=== modified file 'olive/__init__.py'
--- a/olive/__init__.py 2008-05-05 18:16:46 +0000
+++ b/olive/__init__.py 2008-06-23 08:05:19 +0000
@@ -446,7 +446,7 @@
@show_bzr_error
def on_entry_history_revno_key_press_event(self, widget, event):
""" Key pressed handler for the history entry. """
- if event.keyval == 65293:
+ if event.keyval == gtk.gdk.keyval_from_name('Return') or event.keyval == gtk.gdk.keyval_from_name('KP_Enter'):
# Return was hit, so we have to load that specific revision
# Emulate being remote, so inventory should be used
path = self.get_path()
@@ -461,7 +461,7 @@
def on_entry_location_key_press_event(self, widget, event):
""" Key pressed handler for the location entry. """
- if event.keyval == 65293:
+ if event.keyval == gtk.gdk.keyval_from_name('Return') or event.keyval == gtk.gdk.keyval_from_name('KP_Enter'):
# Return was hit, so we have to jump
self.on_button_location_jump_clicked(widget)
More information about the bazaar-commits
mailing list