[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How do I control the actions generated by a part ?
From:       Aaron Seigo <aseigo () kde ! org>
Date:       2004-04-20 22:23:24
Message-ID: 200404201623.24593.aseigo () kde ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On April 20, 2004 12:56, Christoph Klünter wrote:
> I am writing a little app a ReadOnlyPart for application/postscript.
> But whenever I call createGUI(myGVPart), there are lots of menuentries
> generated.  How do I get rid of SOME of them ?
> For example I don't want the "SaveAs" action to appear in my menu.
> Is there a way to do this ?

don't create a SaveAs action? alternatively you can tell the menu not to merge 
in the ui_standards stuff with a noMerge="1" in the <Menu> tag, but then you 
have to define all the items that appear and you also lose consistency with 
other KDE apps via the use of ui_standards.

- -- 
Aaron J. Seigo
Society is Geometric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFAhaLc1rcusafx20MRAldpAKCJFeFFtPZs5QrdaZxp3WJ4QryslgCgkDrC
RLEHFtjrtCNeeBHgVmEJYNk=
=JlWL
-----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