Add local .desktop files to menu

This commit is contained in:
Tom Willemse 2014-11-12 16:14:37 +01:00
parent c0984eea1e
commit 5a92369dc1

View file

@ -25,6 +25,9 @@ end
local maildir_base = os.getenv("HOME") .. "/documents/mail/" local maildir_base = os.getenv("HOME") .. "/documents/mail/"
table.insert(menubar.menu_gen.all_menu_dirs,
os.getenv("HOME") .. "/.local/share/applications/")
function new_mail(maildir) function new_mail(maildir)
local count = 0 local count = 0
local newmaildir = maildir_base .. maildir .. "/new" local newmaildir = maildir_base .. maildir .. "/new"