How to include Debian menu in to Ion3 installed from source?

Csanyi Pal <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
Hello!

I have installed from source the last stable Ion3 release on Debian
GNU/Linux Etch en Half.

When I used Ion2 I have Debian menu but now I havn't.

I tried to edit cfg_ioncore.lua to include Debian menu but this is not
enough:

---------------
defmenu("mainmenu", {
    menuentry("Run...",         "mod_query.query_exec(_)"),
    menuentry("Terminal",       "ioncore.exec_on(_, XTERM or 'xterm')"),
    menuentry("Lock screen",    "ioncore.exec_on(_, 'xlock')"),
    menuentry("Help",           "mod_query.query_man(_)"),
    menuentry("About Ion",      "mod_query.show_about_ion(_)"),
    submenu("Styles",           "stylemenu"),
    submenu("Session",          "sessionmenu"),
    submenu("Debian", 		"Debian"),
})
---------------

I open the old file ion-menus.lua from Ion2 to see this setup and find
a line like the line abowe:

submenu("Debian", "Debian"),

and this lines: 

-------------------------
-- Auto-generated Debian menu definitions
if os.execute("test -x /usr/bin/update-menus") == 0 then
    if ioncore_is_i18n() then
        include("debian-menu-i18n")
    else
        include("debian-menu")
    end
end
-------------

These lines can't to use in Ion3.

Somehow I must to include debian-menu but how?

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.