Bug 571651 - Bind Alt-F1 to overlay

Previously it was bound to main menu, bind it to the overlay now.
This commit is contained in:
Colin Walters 2009-02-13 12:11:10 -05:00
parent ac286a7722
commit c3c4678635

View File

@ -64,13 +64,15 @@ function start() {
wm = new WindowManager.WindowManager();
let display = global.screen.get_display();
display.connect('overlay-key', function(display) {
let toggleOverlay = function(display) {
if (overlay.visible) {
hide_overlay();
} else {
show_overlay();
}
});
display.connect('overlay-key', toggleOverlay);
global.connect('panel-main-menu', toggleOverlay);
Mainloop.idle_add(_removeUnusedWorkspaces);
}