This commit is contained in:
Xuan Sang LE 2017-08-16 00:57:11 +02:00
parent 8fbd0b4a98
commit 1a054dbc9c
3 changed files with 5 additions and 5 deletions

View File

@ -47,7 +47,7 @@ class BaseApplication extends this.OS.GUI.BaseModel
($ @scheme).remove()
baseMenu: ->
menu =
mn =
[{
text: _APP[@name].meta.name,
child: [
@ -55,8 +55,8 @@ class BaseApplication extends this.OS.GUI.BaseModel
{ text: "Exit", dataid: "#{@name}-exit" }
]
}]
menu = menu.concat @menu() || []
menu
mn = mn.concat @menu() || []
mn
main: ->
#main program

View File

@ -52,7 +52,7 @@ class ActivityMonitor extends this.OS.GUI.BaseApplication
else
me.gdata.processes[i] = undefined
@grid.set "rows",activeList
exit: (e) ->
cleanup: (e) ->
clearTimeout @timer if @timer
ActivityMonitor.singleton = true

View File

@ -66,6 +66,6 @@ class wTerm extends this.OS.GUI.BaseApplication
me.socket = null
console.log "socket closed"
#el.style.display = "block"
exit: (e)->
cleanup: (e)->
@socket.close() if @socket
this.OS.register "wTerm",wTerm