You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
417 B
19 lines
417 B
function newWindowCallBack(mainwindow) {
|
|
var ac=mainwindow.actionCollection();
|
|
action = new KAction( ac, 'kjsconsole_show_action' );
|
|
action.text = 'Javascript Console Window';
|
|
action.icon = 'konsole';
|
|
|
|
mainwindow.showConsole = function()
|
|
{
|
|
|
|
KJSConsole();
|
|
}
|
|
|
|
action.connect( action, 'activated()', mainwindow, 'showConsole' );
|
|
|
|
}
|
|
|
|
setWindowConfiguration(null,newWindowCallBack,null);
|
|
|