Hello again,

this works for me:

- Addons.xcu snippet -
     <prop oor:name="MergeToolBar">
      <value>toolbar</value>
     </prop>
     <prop oor:name="MergePoint">
      <value>.uno:Refresh</value>
     </prop>
     <prop oor:name="MergeCommand">
      <value>AddAfter</value>
     </prop>
     <prop oor:name="MergeFallback">
      <value>AddLast</value>
     </prop>
     <prop oor:name="MergeContext">
        <value>com.sun.star.sdb.DataSourceBrowser</value>
     </prop>

This lets the button appear whenever the data source browser is opened. The merge context prevents the additional button being shown when a different "toolbar" is activated. (I did double check with Calc where the toolbar.xml is named "Tools" in the UI)

Hope that helps, Steffen

Jörg Schmidt wrote:
Hello Steffen,

steffen.gr...@sun.com wrote:
when I change "browserobjectbar" to "standardbar", your Addons.xcu
works. It seems that "browserobjectbar" is not valid anymore,
but I am
not familiar with it, so I am at a loss there.

Where in the UI can you activate that toolbar?

i mean the toolbar you can see if you click View-Data Sources in the
OOo-menu - the shortcut is F4


Regards,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



--
Steffen Grund <steffen.gr...@sun.com>                  Sun Microsystems
Software Engineer - StarOffice                             Nagelsweg 55
Phone:  +49 40 23646 647                                D-20097 Hamburg
Fax:    +49 40 23646 550                  http://www.sun.com/staroffice
-----------------------------------------------------------------------
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Haering

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to