/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to olive/__init__.py

  • Committer: Martin Albisetti
  • Date: 2008-06-03 01:43:08 UTC
  • Revision ID: argentina@gmail.com-20080603014308-9e6ao0hsike02m2b
Add GTK;GNOME; to olive-gtk.desktop Categories

Show diffs side-by-side

added added

removed removed

Lines of Context:
446
446
    @show_bzr_error
447
447
    def on_entry_history_revno_key_press_event(self, widget, event):
448
448
        """ Key pressed handler for the history entry. """
449
 
        if event.keyval == gtk.gdk.keyval_from_name('Return') or event.keyval == gtk.gdk.keyval_from_name('KP_Enter'):
 
449
        if event.keyval == 65293:
450
450
            # Return was hit, so we have to load that specific revision
451
451
            # Emulate being remote, so inventory should be used
452
452
            path = self.get_path()
461
461
    
462
462
    def on_entry_location_key_press_event(self, widget, event):
463
463
        """ Key pressed handler for the location entry. """
464
 
        if event.keyval == gtk.gdk.keyval_from_name('Return') or event.keyval == gtk.gdk.keyval_from_name('KP_Enter'):
 
464
        if event.keyval == 65293:
465
465
            # Return was hit, so we have to jump
466
466
            self.on_button_location_jump_clicked(widget)
467
467