xmlgui, DefineGroup vs. MergeLocal

David Faure faure at kde.org
Thu Oct 22 16:52:49 BST 2009

On Sunday 18 October 2009, Andreas Pakulat wrote:
> Ok, I've done a similar test, simply moved a DefineGroup from my host
> app (kdevelop) into ui_standards.rc and both the kate actions using that
> group as well as the action from my own plugin still show up as
> expected.


> So should I go around and add a group for each MergeLocal using *_group?

Yep, I like the idea.
I just hope we don't mess things up for apps that were already defining
groups with such a name though....

> One thing I did notice though: Katepartui.rc has this:
> <Action name="edit_find" group="edit_find_merge" />
> Isn't this superflous as edit_find is already defined in
> ui_standards.rc?

It uses noMerge="1" so ui_standards.rc doesn't apply there.

David Faure, faure at kde.org, sponsored by Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

More information about the kde-core-devel mailing list