update some package

This commit is contained in:
Xuan Sang LE
2020-05-21 17:28:02 +02:00
parent 6cda32bd3c
commit 04225e74fb
13 changed files with 43 additions and 101 deletions

View File

@ -349,6 +349,10 @@
{
text: "File dialog",
id: "file"
},
{
text: "Text dialog",
id: "text"
}
]);
return btrun.set("onbtclick", (e) => {
@ -419,6 +423,13 @@
}).then((f, name) => {
return this.notify(f, name);
});
case "text":
return this.openDialog("TextDialog", {
title: "Text dialog review",
value: "txt data"
}).then((d) => {
return this.notify(d);
});
}
});
}

View File

@ -7,7 +7,7 @@
"email": "xsang.le@gmail.com",
"licences": "GPLv3"
},
"version":"0.0.1-a",
"version":"0.0.2-a",
"category":"Other",
"mimes":["none"],
"iconclass": "fa fa-delicious",

Binary file not shown.

View File

@ -153,7 +153,8 @@ class ShowCase extends this.OS.GUI.BaseApplication
{ text: "YesNo dialog", id: "yesno" },
{ text: "Selection dialog", id: "selection" },
{ text: "About dialog", id: "about" },
{ text: "File dialog", id: "file" }
{ text: "File dialog", id: "file" },
{ text: "Text dialog", id: "text" }
]
btrun.set "onbtclick", (e) =>
@ -216,6 +217,14 @@ class ShowCase extends this.OS.GUI.BaseApplication
})
.then (f, name) =>
@notify f, name
when "text"
@openDialog("TextDialog", {
title: "Text dialog review",
value: "txt data"
})
.then (d) =>
@notify d
else return

View File

@ -7,7 +7,7 @@
"email": "xsang.le@gmail.com",
"licences": "GPLv3"
},
"version":"0.0.1-a",
"version":"0.0.2-a",
"category":"Other",
"mimes":["none"],
"iconclass": "fa fa-delicious",