--===============97096768433849401== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_I1KA/dTETOOQkba"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-02=_I1KA/dTETOOQkba Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 30 June 2003 09:01, Till Adam wrote: > Ok, I understand where the real problem is, thanks. Moving the action > to the KMMainWin is not good idea, as far as I can tell, though, > because it won't be available in the part then, right? I guess that's > why it was moved into the KMMainWidget in the first place. I'll > revert my commit, but how do we fix this? I guess we will have to test whether the actions have already been added=20 in order to avoid adding them multiple times. Probably the following works: mForwardAction =3D ac->action( "message_forward_inline" ); if( !mForwardAction ) mForwardAction =3D new KAction( i18n("&Inline..."), "mail_forward", SHIFT+Key_F, this, SLOT(slotForwardMsg()), ac, "message_forward_inline" ); mForwardActionMenu->insert( mForwardAction ); Regards, Ingo --Boundary-02=_I1KA/dTETOOQkba Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3rc1 (GNU/Linux) iD8DBQA/AK1IGnR+RTDgudgRAkCIAJ4le4ZW1McjrwDfFBxUYzKJDMCm/QCgyWt9 MmNbkwclArr+DBY+iBBGNfU= =wM2u -----END PGP SIGNATURE----- --Boundary-02=_I1KA/dTETOOQkba-- --===============97096768433849401== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KMail Developers mailing list kmail@mail.kde.org http://mail.kde.org/mailman/listinfo/kmail --===============97096768433849401==--