Am Donnerstag, 26. Januar 2006 15:35 schrieb Laurent Godard:
> did you try to put it at share level ?
> /opt/OpenOffice.org1.1.4/share/config/soffice.cfg/writermenubar.xml

I just tried adding a menu called "Something New", but it doesn't appear, 
probably because I used bad syntax or because I need to somehow tell OO that 
this particular file exists.  Also, I added

  <manifest:file-entry manifest:media-type="" 
manifest:full-path="/opt/OpenOffice.org1.1.4/share/config/soffice.cfg/writermenubar.xml"/>

to

  ~/OpenOffice.org1.1.4/user/config/soffice.cfg/META-INF/manifest.xml

but still no success.  Some info about "writermenubar.xml" on my system:

$ cd /opt/OpenOffice.org1.1.4/share/config/soffice.cfg
$ ls -l writermenubar.xml 
-rw-rw-rw-  1 root root 548 Jan 27 15:59 writermenubar.xml
$ cat writermenubar.xml 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE menu:menubar PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" 
"menubar.dtd">
<menu:menubar xmlns:menu="http://openoffice.org/2001/menu"; menu:id="menubar">
<menu:menu menu:id="blabla" menu:label="Something New">
<menu:menupopup>
  <menu:menuitem menu:id="macro:///Linuxburg.Main.oeffne_Dokument()" 
menu:label="Ö~ffnen..."/>
  <menu:menuitem 
menu:id="macro:///Linuxburg.Main.verschiebe_und_speichere_Dokument()" 
menu:label="~Verschieben nach..."/>
</menu:menupopup>
</menu:menu>
</menu:menubar>

BTW, I only want to add *one* menu.  I do not want to replace the entire menu 
bar since individual users may have made changes to the menu bar.

Any idea what's going wrong?

-- 
Dipl.-Phys. Felix E. Klee
Email: [EMAIL PROTECTED] (work), [EMAIL PROTECTED] (home)
Tel: +49 721 8307937, Fax: +49 721 8307936
Linuxburg, Goethestr. 15A, 76135 Karlsruhe, Germany

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to