Run gnome-terminal on alt-f2

svn path=/trunk/; revision=36
This commit is contained in:
Colin Walters
2008-11-07 18:42:23 +00:00
parent ac6ff95040
commit 19070be3ba
9 changed files with 284 additions and 6 deletions

View File

@ -26,6 +26,12 @@ function start() {
for (let i = 0; i < children.length; i++)
children[i].destroy();
global.connect('panel-run-dialog', function (panel) {
log("showing main menu!");
var p = new Shell.Process({'args' : ['gnome-terminal', 'gnome-terminal']})
p.run()
});
panel = new Panel.Panel();
overlay = new Overlay.Overlay();
global.set_stage_input_area(0, 0, global.screen_width, Panel.PANEL_HEIGHT);