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

List:       kde-commits
Subject:    kdeutils/kgpg
From:       Jean-Baptiste Mardelle <bj () altern ! org>
Date:       2005-02-13 23:36:50
Message-ID: 20050213233650.951931BA6C () office ! kde ! org
[Download RAW message or body]

CVS commit by mardelle: 

Fix disabled key detection with recent GnuPG versions


  M +8 -0      keyinfowidget.cpp   1.18


--- kdeutils/kgpg/keyinfowidget.cpp  #1.17:1.18
@@ -188,4 +188,12 @@ QString gpgcmd="gpg --no-tty --no-secmem
                                 break;
                         }
+                        
+                        if (gpgOutput.section(':',11,11).find("D",0,true)!=-1)  // disabled key
+                        {
+                                tr=i18n("Disabled");
+                                trustColor=KGpgSettings::colorBad();
+                                prop->cbDisabled->setChecked(true);     
+                        }
+                        
                         prop->kLTrust->setText(tr);
                         prop->pixmapTrust->setPaletteBackgroundColor(trustColor);


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

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