mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 17:58:22 +01:00
fix Files bug
This commit is contained in:
parent
5c08a189cc
commit
0b27af3e9d
@ -41,8 +41,13 @@ class Files extends this.OS.GUI.BaseApplication
|
|||||||
file.mime = "dir" if file.type is "dir"
|
file.mime = "dir" if file.type is "dir"
|
||||||
|
|
||||||
for v in @_gui.appsByMime file.mime
|
for v in @_gui.appsByMime file.mime
|
||||||
v.args = [ file ]
|
apps.push {
|
||||||
apps.push v
|
text: v.text,
|
||||||
|
app: v.app,
|
||||||
|
icon: v.icon,
|
||||||
|
iconclass: v.iconclass
|
||||||
|
}
|
||||||
|
|
||||||
m.set "items", [
|
m.set "items", [
|
||||||
{
|
{
|
||||||
text: "__(Open with)",
|
text: "__(Open with)",
|
||||||
|
Loading…
Reference in New Issue
Block a user