mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-23 17:29:51 +02:00
update code
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -6,7 +6,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "xsang.le@gmail.com"
|
||||
},
|
||||
"version":"0.0.4-a",
|
||||
"version":"0.0.5-a",
|
||||
"category":"System",
|
||||
"iconclass":"fa fa-terminal",
|
||||
"mimes":["none"],
|
||||
|
Binary file not shown.
@ -16,7 +16,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
#along with this program. If not, see https://www.gnu.org/licenses/
|
||||
|
||||
class wTerm extends this.OS.GUI.BaseApplication
|
||||
class wTerm extends this.OS.application.BaseApplication
|
||||
constructor: (args) ->
|
||||
super "wTerm", args
|
||||
|
||||
@ -35,13 +35,13 @@ class wTerm extends this.OS.GUI.BaseApplication
|
||||
@on "focus", () => @term.focus()
|
||||
|
||||
@mterm.contextmenuHandle = (e, m) =>
|
||||
m.set "items", [
|
||||
m.items = [
|
||||
{ text: "__(Copy)", id: "copy" },
|
||||
{ text: "__(Paste)", id: "paste"}
|
||||
]
|
||||
m.set "onmenuselect", (e) =>
|
||||
m.onmenuselect = (e) =>
|
||||
return unless e
|
||||
@mctxHandle e.data.item.get "data"
|
||||
@mctxHandle e.data.item.data
|
||||
m.show e
|
||||
@resizeContent()
|
||||
@openSession()
|
||||
@ -100,7 +100,7 @@ class wTerm extends this.OS.GUI.BaseApplication
|
||||
menu: () ->
|
||||
{
|
||||
text: "__(Edit)",
|
||||
child: [
|
||||
nodes: [
|
||||
{ text: "__(Terminal URI)", dataid: "#{@name}-termuri" }
|
||||
],
|
||||
onchildselect: (e) => @configure()
|
||||
|
@ -6,7 +6,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "xsang.le@gmail.com"
|
||||
},
|
||||
"version":"0.0.4-a",
|
||||
"version":"0.0.5-a",
|
||||
"category":"System",
|
||||
"iconclass":"fa fa-terminal",
|
||||
"mimes":["none"],
|
||||
|
Reference in New Issue
Block a user