Re: Problems adding menu to panel applet
- From: "Steve Smith Smith" <kfv101 hotmail com>
- To: toralf procaptura com, gnome-list gnome org
- Subject: Re: Problems adding menu to panel applet
- Date: Fri Jun 13 11:41:02 2003
Have you tried running the applet from the command line to look for error
messages (ie run the applet binary and add the applet to the panel using the
right click menu)?
Regards,
Kevin
From: Toralf Lund <toralf procaptura com>
To: GNOME mailing list <gnome-list gnome org>
Subject: Problems adding menu to panel applet
Date: Wed, 11 Jun 2003 14:44:09 +0200
Now that I've actually been able to load my GNOME 2 applet, I want to add a
menu to it. I'm trying the following:
static const BonoboUIVerb menuVerbs[] = {
BONOBO_UI_VERB("IntranetAbout", about),
BONOBO_UI_VERB_END
};
static const char menu[]="<Root>\n"
" <popups>\n"
" <popup name=\"button3\">\n"
" <menuitem name=\"about\" verb=\"IntranetAbout\"
label=\"About...\"\n"
" pixtype=\"stock\" pixname=\"gnome-stock-about\"/>\n"
" </popup>\n"
" </popups>\n"
"</Root>\n";
panel_applet_setup_menu(PANEL_APPLET(applet), menu, menuVerbs,
applet);
But it doesn't seem to work - I get no right-click menu at all, not even
one containing buttons like "Remote from panel", "Move" etc.
Can anyone tell me what's wrong?
--
- Toralf
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]