[Pkg-bazaar-commits] ./bzr-gtk/unstable r508: Merge fix for key names.
Jelmer Vernooij
jelmer at samba.org
Fri Apr 10 07:44:47 UTC 2009
------------------------------------------------------------
revno: 508
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
------------------------------------------------------------
revno: 504.1.1
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
-------------- next part --------------
=== 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 Pkg-bazaar-commits
mailing list