summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-18 16:57:05 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-18 16:57:05 +0000
commiteee6d46e88874da2a9ec68cdfe4321bcc818a6ca (patch)
treea8b91b9c37a257ed014a0be04fcccbdd4d868336 /kde-base/kmail/files
parentVersion bump, p.masked though for ABI change without soname change (security ... (diff)
downloadgentoo-2-eee6d46e88874da2a9ec68cdfe4321bcc818a6ca.tar.gz
gentoo-2-eee6d46e88874da2a9ec68cdfe4321bcc818a6ca.tar.bz2
gentoo-2-eee6d46e88874da2a9ec68cdfe4321bcc818a6ca.zip
Allow replying to e-mails in "Sent" folder (bug #270099).
(Portage version: 13623-svn/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kmail/files')
-rw-r--r--kde-base/kmail/files/4.2.0-kwallet.patch21
-rw-r--r--kde-base/kmail/files/kmail-4.2.3-allow_replying_to_messages_in_sent_folder.patch41
2 files changed, 41 insertions, 21 deletions
diff --git a/kde-base/kmail/files/4.2.0-kwallet.patch b/kde-base/kmail/files/4.2.0-kwallet.patch
deleted file mode 100644
index 2f5c93898f5b..000000000000
--- a/kde-base/kmail/files/4.2.0-kwallet.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- kmail/networkaccount.cpp 2008-05-21 10:33:40.000000000 +0200
-+++ ../networkaccount.cpp 2009-01-30 12:28:32.032158332 +0100
-@@ -205,16 +205,16 @@
-
- //If the password should be written to the wallet, do that
- if ( !mStorePasswdInConfig ) {
-- Wallet *wallet = kmkernel->wallet();
-
- //If the password is dirty, try to store it in the wallet
- if ( mPasswdDirty ) {
-+ Wallet *wallet = kmkernel->wallet();
- if ( wallet && wallet->writePassword( "account-" + QString::number(mId), passwd() ) == 0 )
- passwdStored = true;
- }
-
- //If the password isn't dirty, it is already stored in the wallet.
-- else if ( wallet )
-+ else
- passwdStored = true;
-
- //If the password is stored in the wallet, it isn't dirty or stored in the config
diff --git a/kde-base/kmail/files/kmail-4.2.3-allow_replying_to_messages_in_sent_folder.patch b/kde-base/kmail/files/kmail-4.2.3-allow_replying_to_messages_in_sent_folder.patch
new file mode 100644
index 000000000000..4b67e92a591d
--- /dev/null
+++ b/kde-base/kmail/files/kmail-4.2.3-allow_replying_to_messages_in_sent_folder.patch
@@ -0,0 +1,41 @@
+https://bugs.gentoo.org/show_bug.cgi?id=270099
+https://bugs.kde.org/show_bug.cgi?id=189464
+http://websvn.kde.org/?view=rev&revision=965008
+
+--- kmail/kmmainwidget.cpp
++++ kmail/kmmainwidget.cpp
+@@ -3450,9 +3450,7 @@
+ menu->addAction( mUseAction );
+ } else {
+
+- if ( !mFolder->isSent() ) {
+- menu->addAction( mMsgActions->replyMenu() );
+- }
++ menu->addAction( mMsgActions->replyMenu() );
+ menu->addAction( mForwardActionMenu );
+ }
+ menu->addAction(editAction());
+--- kmail/messageactions.cpp
++++ kmail/messageactions.cpp
+@@ -170,8 +170,7 @@
+ {
+ bool singleMsg = (mCurrentMessage != 0);
+ if ( mCurrentMessage && mCurrentMessage->parent() ) {
+- if ( mCurrentMessage->parent()->isSent() ||
+- mCurrentMessage->parent()->isTemplates())
++ if ( mCurrentMessage->parent()->isTemplates() )
+ singleMsg = false;
+ }
+ const bool multiVisible = mVisibleSernums.count() > 0 || mCurrentMessage;
+--- kmail/messagelistview/widget.cpp
++++ kmail/messagelistview/widget.cpp
+@@ -618,8 +618,7 @@
+ menu.addAction( mMainWidget->useAction() );
+ } else {
+ // show most used actions
+- if( !folder()->isSent() )
+- menu.addAction( mMainWidget->messageActions()->replyMenu() );
++ menu.addAction( mMainWidget->messageActions()->replyMenu() );
+ menu.addAction( mMainWidget->forwardMenu() );
+ if( mMainWidget->sendAgainAction()->isEnabled() )
+ menu.addAction( mMainWidget->sendAgainAction() );