XFDesktop configurable menu
Mark C. Chu-Carroll
mcc at watson.ibm.com
Tue Feb 11 19:01:58 CET 2003
On Mon, 2003-02-10 at 23:13, Biju Chacko wrote:
> On Mon, 2003-02-10 at 23:12, Mark C. Chu-Carroll wrote:
> >
> > Since this change went in, I haven't been able to get menus to
> > work at all. I've done a bit of probing with log messages, and
> > the menu.xml file gets parsed without error; but when I try to bring
> > up the menu, I get an empty menu.
> >
> > Since no one else has had trouble with this, I'm guessing that it's
> > something wrong in my environment, but I haven't a clue of where
> > to start looking. Can anyone loan me a clue?
>
> Can you post your menu.xml? And can you mention where it was located?
I'm using the unedited menu.xml from CVS. It's in ~/.xfce4/menu.xml. I
inserted some logging statements into the menu parser, and it is
being found and parsed.
Here's the menu file:
<?xml version="1.0" encoding="UTF-8"?>
<xfdesktop-menu>
<title name="Desktop Menu" visible="yes" />
<separator/>
<app name="Terminal" cmd="xterm" term="no" icon="xterm.png"/>
<app name="Run Program..." cmd="xfrun4"/> <!-- The rest have
defaults -->
<menu name="Settings" visible="yes">
<app name="All Settings" cmd="xfce-setting-show"/>
<app name="Backdrop" cmd="xfce-setting-show backdrop"/>
</menu>
<app name="Midnight Commander" cmd="mc" term="yes"/>
<separator/>
<app name="Help" cmd="xfhelp"/>
<!-- This doesn't work yet -->
<builtin name="quit" visible="no"/>
</xfdesktop-menu>
-Mark
--
Mark Craig Chu-Carroll, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work: mcc at watson.ibm.com/Home: markcc at bestweb.net
More information about the Xfce4-dev
mailing list