Overwriting default menu entry locations (was: Re: KDE/kdelibs/kdeui/xmlgui)
Friedrich W. H. Kossebau
kossebau at kde.org
Tue Jan 13 19:44:56 GMT 2009
Am Dienstag, 13. Januar 2009, um 20:24 Uhr, schrieb David Faure:
> On Sunday 11 January 2009, Friedrich W. H. Kossebau wrote:
> > Result: The action appears currently twice, in the menu "Go", as defined
> > in ui_standards.rc, and in the menu "Document", as defined by kateui.rc.
>
> That's unrelated to the rest of this thread, it's how xmlgui merging
> works... kateui.rc should define a Go menu with noMerge="1" to overwrite
> the default Go menu from ui_standards.rc
There is no Go menu in kateui.rc. And just
<Menu name="go" noMerge="1">
</Menu>
doesn't seem to do it, creates an unnamed empty menu, as expected. So how do
you think this can be solved, then?
Would it be a good idea to write out a warning if there is a redefined
location (if a merge blocker was forgotten)? The minute this email came in I
just had started to have myself a look to solve this- So I am in the mood to
find the place for such a warning :)
Cheers
Friedrich
--
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta
More information about the kde-core-devel
mailing list