Add a window-level key-binding for quitting Terminator
This commit is contained in:
parent
99eeb02259
commit
31ec32f595
|
@ -455,6 +455,10 @@ class Terminator:
|
||||||
if keyname == 'F':
|
if keyname == 'F':
|
||||||
self.toggle_fullscreen ()
|
self.toggle_fullscreen ()
|
||||||
return (True)
|
return (True)
|
||||||
|
if keyname == 'Q':
|
||||||
|
if not self.on_delete_event (window, gtk.gdk.Event (gtk.gdk.DELETE)):
|
||||||
|
self.on_destroy_event (window, gtk.gdk.Event (gtk.gdk.DESTROY))
|
||||||
|
|
||||||
|
|
||||||
def splitaxis (self, widget, vert=True):
|
def splitaxis (self, widget, vert=True):
|
||||||
term2 = TerminatorTerm (self, self.profile)
|
term2 = TerminatorTerm (self, self.profile)
|
||||||
|
|
Loading…
Reference in New Issue