gtk: Install fullscreen accelerator on toplevel window
commit954149146193a8acd592b3055a14aad122490127
authorCole Robinson <crobinso@redhat.com>
Thu, 30 Oct 2014 19:34:33 +0000 (30 15:34 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 4 Nov 2014 07:15:21 +0000 (4 08:15 +0100)
tree212240a1042f3fb2a5b90de0a9ddb6acd8c9f362
parent400519d24a56636ef45d4137d0cc84aafe6f0ed8
gtk: Install fullscreen accelerator on toplevel window

Instead of installing it on the menu. This will be needed to keep the
fullscreen keyboard shortcut working when we hide the menu (in future
patches).

On gtk < 3.8, this has the unfortunate side effect of no longer listing
the key combo in the UI. We could manually change the label in that case,
but it will look visually out of place, and I'm not sure if anyone really
cares.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c