gui: hook up ctrl+q for app.quit
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c71076ca1d
commit
e6ea60d6c1
|
@ -52,6 +52,9 @@ class Application(Gtk.Application):
|
||||||
GLib.OptionFlags.NONE,
|
GLib.OptionFlags.NONE,
|
||||||
GLib.OptionArg.NONE,
|
GLib.OptionArg.NONE,
|
||||||
'download first drawing only but do not remove it from the device')
|
'download first drawing only but do not remove it from the device')
|
||||||
|
|
||||||
|
self.set_accels_for_action('app.quit', ['<Ctrl>Q'])
|
||||||
|
|
||||||
self._tuhi = None
|
self._tuhi = None
|
||||||
|
|
||||||
def do_startup(self):
|
def do_startup(self):
|
||||||
|
|
Loading…
Reference in New Issue