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

List:       kmail-devel
Subject:    [Bug 106478] No "save" or "save as" option in the separate reader
From:       Jonathan Marten <jjm () keelhaul ! me ! uk>
Date:       2006-11-22 20:46:55
Message-ID: 20061122204655.24586.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=106478         




------- Additional Comments From jjm keelhaul me uk  2006-11-22 21:46 -------
SVN commit 607024 by marten:

Add keyboard shortcut Ctrl+S for "Save As" action in reader window

CCBUG:106478


 M  +7 -4      branches/work/kdepim-3.5.5+/kmail/kmreadermainwin.cpp  
 M  +2 -2      branches/work/kdepim-3.5.5+/kmail/kmreadermainwin.h  


--- branches/work/kdepim-3.5.5+/kmail/kmreadermainwin.cpp #607023:607024
 @ -281,10 +281,13  @
   //                                actionCollection() );
 
   //mSaveAsAction = new KAction( i18n("Save &As..."), "filesave",
-  //                             KStdAccel::shortcut( KStdAccel::Save ),
-  //                             this, SLOT( slotSaveMsg() ),
-  //                             actionCollection(), "file_save_as" );
+  //                            KStdAccel::shortcut( KStdAccel::Save ),
+  //                            this, SLOT( slotSaveMsg() ),
+  //                           actionCollection(), "file_save_as" );
 
+  mSaveAsAction = KStdAction::saveAs( mReaderWin, SLOT( slotSaveMsg() ),
+                                    actionCollection() );
+  mSaveAsAction->setShortcut( KStdAccel::shortcut( KStdAccel::Save ) );
   mPrintAction = KStdAction::print( this, SLOT( slotPrintMsg() ),
                                     actionCollection() );
 
 @ -462,7 +465,7  @
     mReaderWin->toggleFixFontAction()->plug( menu );
     menu->insertSeparator();
     mPrintAction->plug( menu );
-    menu->insertItem(  SmallIcon("filesaveas"), i18n( "Save &As..." ), mReaderWin, \
SLOT( slotSaveMsg() ) ); +    mSaveAsAction->plug( menu );
     menu->insertItem( i18n("Save Attachments..."), mReaderWin, \
SLOT(slotSaveAttachments()) );  }
   menu->exec(aPoint, 0);
--- branches/work/kdepim-3.5.5+/kmail/kmreadermainwin.h #607023:607024
 @ -65,8 +65,8  @
   KURL mUrl;
   QMap<int,KMFolder*> mMenuToFolder;
   // a few actions duplicated from kmmainwidget
-  KAction *mTrashAction, *mPrintAction, *mReplyAction, *mReplyAllAction, \
                *mReplyAuthorAction,
-          *mReplyListAction, *mForwardInlineAction,
+  KAction *mTrashAction, *mPrintAction, *mSaveAsAction, *mReplyAction,
+          *mReplyAllAction, *mReplyAuthorAction, *mReplyListAction, \
                *mForwardInlineAction,
           *mForwardAttachedAction, *mForwardDigestAction, *mRedirectAction,
           *mViewSourceAction;
   KActionMenu *mReplyActionMenu;
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


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

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