From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in kde-base/kmail/files: 4.2.0-kwallet.patch |
Date: | Fri, 30 Jan 2009 13:22:28 |
Message-Id: | E1LStKE-0006cK-Ss@stork.gentoo.org |
1 | scarabeus 09/01/30 13:22:26 |
2 | |
3 | Added: 4.2.0-kwallet.patch |
4 | Log: |
5 | Add patch for kwallet asking pass all the time. Revbump. Per bug #256918. |
6 | (Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 kde-base/kmail/files/4.2.0-kwallet.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kmail/files/4.2.0-kwallet.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kmail/files/4.2.0-kwallet.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 4.2.0-kwallet.patch |
15 | =================================================================== |
16 | --- kmail/networkaccount.cpp 2008-05-21 10:33:40.000000000 +0200 |
17 | +++ ../networkaccount.cpp 2009-01-30 12:28:32.032158332 +0100 |
18 | @@ -205,16 +205,16 @@ |
19 | |
20 | //If the password should be written to the wallet, do that |
21 | if ( !mStorePasswdInConfig ) { |
22 | - Wallet *wallet = kmkernel->wallet(); |
23 | |
24 | //If the password is dirty, try to store it in the wallet |
25 | if ( mPasswdDirty ) { |
26 | + Wallet *wallet = kmkernel->wallet(); |
27 | if ( wallet && wallet->writePassword( "account-" + QString::number(mId), passwd() ) == 0 ) |
28 | passwdStored = true; |
29 | } |
30 | |
31 | //If the password isn't dirty, it is already stored in the wallet. |
32 | - else if ( wallet ) |
33 | + else |
34 | passwdStored = true; |
35 | |
36 | //If the password is stored in the wallet, it isn't dirty or stored in the config |