From kde-devel Tue Apr 20 22:23:24 2004 From: Aaron Seigo Date: Tue, 20 Apr 2004 22:23:24 +0000 To: kde-devel Subject: Re: How do I control the actions generated by a part ? Message-Id: <200404201623.24593.aseigo () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=108249985913683 -----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 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 <<