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

List:       kmail-devel
Subject:    Re: forward
From:       Ingo =?iso-8859-1?q?Kl=F6cker?= <kloecker () kde ! org>
Date:       2003-06-30 21:36:07
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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 
in order to avoid adding them multiple times.

Probably the following works:
  mForwardAction = ac->action( "message_forward_inline" );
  if( !mForwardAction )
    mForwardAction = new KAction( i18n("&Inline..."), "mail_forward",
                                  SHIFT+Key_F, this,
                                  SLOT(slotForwardMsg()),
                                  ac, "message_forward_inline" );
  mForwardActionMenu->insert( mForwardAction );

Regards,
Ingo


[Attachment #5 (application/pgp-signature)]

_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail


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

Configure | About | News | Add a list | Sponsored by KoreLogic