On Mon, Apr 18, 2011 at 01:46:22PM -0400, [email protected] wrote:
> Thomas Adam <[email protected]> writes:
> 
> > On Mon, Apr 18, 2011 at 02:14:38PM -0300, Jim Diamond wrote:
> >> I am running fvwm 2.6.0 on Slackware64 13.1.
> >> 
> >> When it starts up it (apparently) runs fvwm-menu-desktop, which
> >> sends out the following complaints:
> >> 
> >> --------------------------------------------------------------------------
> >> WARNING: '/etc/kde/xdg/menus/applications-kmenuedit.menu' does not exist
> >> Unknown 'DefaultLayout':
> >>                 '
> >> DestroyMenu "FvwmMenu"
> >> AddToMenu "FvwmMenu" "KDE Menu" Title
> >> --------------------------------------------------------------------------
> >> 
> >> I don't see anything in my configuration which is asking fvwm to call
> >> this program.
> >> 
> >> Should I be getting this without asking for it, or am I doing
> >> something wrong.  (If the latter, my apologies for the noise.)
> >
> > It's coming from fvwm-menu-desktop which is called from fvwm.c in liey of no
> > config found, *or* your config doesn't override the builtin menu.
> 
> There's no way to override the creation of the built in menu.
> There probably should be.

I meant in terms of recreating FvwmRootMenu, although that's done after the
fact by the time the user's config is read in.

> Is there a way to defer creation of the menu until it is invoked?

Yes -- this is what "MissingSubMenuFunction" is for.

> > I am not too surprised to see the above, but I don't have the environment
> > installed to reproduce it, as that would mean KDE being installed.  The
> > error comes from interpret_menu() -- which it will then spit out the above
> > as a last resort.
> >
> > Probably nothing to worry about, it's just this script is perhaps overly
> > chatty.
> 
> I think it's a bug in the kde config files.
> We should probably change the menu generation code to be quiet about it
> unless a debug or verbose flag is on.
> 
> I can do that if you like...

Yes please.  Just umm, not another 2.6.2 release just yet though.  :)

-- Thomas Adam

-- 
"Deep in my heart I wish I was wrong.  But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)

Reply via email to