~ubuntu-branches/ubuntu/trusty/terminator/trusty

« back to all changes in this revision

Viewing changes to terminatorlib/keybindings.py

  • Committer: Bazaar Package Importer
  • Author(s): Nicolas Valcárcel Scerpella (Canonical)
  • Date: 2009-12-03 16:20:06 UTC
  • mfrom: (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20091203162006-4u63zrnwa3milhfg
Tags: 0.14-1
* New upstream release
* Dropped debian/patches/10_terminator_annoying_notification.patch: 
  included upstream
* Bump Standard version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        bindings = (bindings,)
72
72
 
73
73
      for binding in bindings:
74
 
        if binding is None:
 
74
        if binding is None or binding == "None":
75
75
          continue
76
76
 
77
77
        try:
79
79
          # Does much the same, but with poorer error handling.
80
80
          #keyval, mask = gtk.accelerator_parse(binding)
81
81
        except KeymapError, ex:
82
 
          ex.action = action
83
 
          raise ex
 
82
          continue
84
83
        else:
85
84
          if mask & gtk.gdk.SHIFT_MASK:
86
85
            if keyval == gtk.keysyms.Tab: