[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: xml ui questions
From: Pupeno <pupeno () kde ! org>
Date: 2003-11-26 15:45:23
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 26 November 2003 12:32, Aaron Seigo wrote:
> On Wednesday 26 November 2003 8:06, Pupeno wrote:
> > <Menu name="settings">
> > <Action name="mMainToolBarAction" />
> > <Action name="mNotesToolBarAction" />
> > </Menu>
>
> you need to use the <Merge> tag to control where it appears. check out the
> rc files of other KDE apps that have show toolbar actions to see how they
> do it, and take a look at share/config/ui/ui_standards.rc to see what's
> defined in the default Settings menu
I checked kmail's rc file and it doesn't merge the standard settings menu with
the new settings items, it re-creates all the settings items (I don't think
that's a good idea).
Checking share/config/ui/ui_standards.rc I saw that I want my two options to
be placed on show_toolbar_merge, here:
<Menu name="settings"><text>&Settings</text>
<Action name="options_show_menubar"/>
<Action name="options_show_toolbar"/>
<Merge name="StandardToolBarMenuHandler" />
<MergeLocal name="show_toolbar_merge"/>
<Action name="options_show_statusbar"/>
<MergeLocal name="show_merge"/>
<Separator/>
<Action name="options_save_options"/>
<MergeLocal name="save_merge"/>
<Separator/>
<Action name="options_configure_keybinding"/>
<Action name="options_configure_toolbars"/>
<Action name="options_configure_notifications"/>
<Action name="options_configure_carddecks"/>
<Action name="options_configure"/>
<MergeLocal name="configure_merge"/>
<Separator/>
<MergeLocal/>
</Menu>
How do I specify my options to be merged on show_toolbar_merge ?
Thanks.
- --
Pupeno: pupeno@kde.org
http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/xMqVtCepaMf3unIRAimcAKCAhCp98lT/vpwIsqPkNGSe20O2ngCdFAsg
s74Xzq9Cjs86fuJAowylB88=
=Vmzn
-----END PGP SIGNATURE-----
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic