mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 09:28:21 +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"
|
||||
|
||||
for v in @_gui.appsByMime file.mime
|
||||
v.args = [ file ]
|
||||
apps.push v
|
||||
apps.push {
|
||||
text: v.text,
|
||||
app: v.app,
|
||||
icon: v.icon,
|
||||
iconclass: v.iconclass
|
||||
}
|
||||
|
||||
m.set "items", [
|
||||
{
|
||||
text: "__(Open with)",
|
||||
|
Loading…
Reference in New Issue
Block a user