Touch UI: esc fullscreen

This patch moves sugar3.graphics.Window key-press-event handling.
It will now be after any other event handling from deived classes.
Fixes #475
This commit is contained in:
Emil Dudev 2013-12-30 16:34:26 +02:00 committed by Ignacio Rodriguez
parent d918e7afff
commit c0319389e8

View File

@ -92,7 +92,7 @@ class Window(Gtk.Window):
self.set_decorated(False)
self.maximize()
self.connect('realize', self.__window_realize_cb)
self.connect('key-press-event', self.__key_press_cb)
self.connect_after('key-press-event', self.__key_press_cb)
# OSK support: canvas auto panning based on input focus
if GObject.signal_lookup('request-clear-area', Window) != 0 and \