diff --git a/src/core/BaseDialog.coffee b/src/core/BaseDialog.coffee index 33efd94..fdb36fe 100644 --- a/src/core/BaseDialog.coffee +++ b/src/core/BaseDialog.coffee @@ -57,7 +57,7 @@ class BasicDialog extends BaseDialog html = " " html += "<#{v.tag} #{v.att} style = 'margin-left:5px; margin-right:5px;' data-id = 'content#{k}'>" for k,v of @conf.tags - html += "
" + html += "
" html += "" for k,v of @conf.buttons html += "
" #render the html @@ -116,7 +116,7 @@ class CalendarDialog extends BasicDialog super "CalendarDialog", { tags: [{ tag: 'afx-calendar-view' }], width: 300, - height: 220, + height: 230, resizable: false, buttons: [ { diff --git a/src/core/settings.coffee b/src/core/settings.coffee index f693a1f..8de3a47 100644 --- a/src/core/settings.coffee +++ b/src/core/settings.coffee @@ -14,12 +14,12 @@ _OS.setting.desktop.menu = {} unless _OS.setting.desktop.menu _OS.setting.VFS.mountpoints = [ #TODO: multi app try to write to this object, it neet to be cloned - { text: __("Applications"), path: 'app://', iconclass: "fa fa-adn", type: "app" }, - { text: __("Home"), path: 'home://', iconclass: "fa fa-home", type: "fs" }, - { text: __("Desktop"), path: _OS.setting.desktop.path , iconclass: "fa fa-desktop", type: "fs" }, - { text: __("OS"), path: 'os://', iconclass: "fa fa-inbox", type: "fs" }, - { text: __("Google Drive"), path: 'gdv://', iconclass: "fa fa-inbox", type: "fs" }, - { text: __("Shared"), path: 'shared://' , iconclass: "fa fa-share-square", type: "fs" } + { text: "__(Applications)", path: 'app://', iconclass: "fa fa-adn", type: "app" }, + { text: "__(Home)", path: 'home://', iconclass: "fa fa-home", type: "fs" }, + { text: "__Desktop)", path: _OS.setting.desktop.path , iconclass: "fa fa-desktop", type: "fs" }, + { text: "__(OS)", path: 'os://', iconclass: "fa fa-inbox", type: "fs" }, + { text: "__(Google Drive)", path: 'gdv://', iconclass: "fa fa-inbox", type: "fs" }, + { text: "__(Shared)", path: 'shared://' , iconclass: "fa fa-share-square", type: "fs" } ] if not _OS.setting.VFS.mountpoints _OS.setting.system = conf.system if conf.system