[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/certmanager
From: David Faure <faure () kde ! org>
Date: 2004-05-12 17:31:51
Message-ID: 20040512173151.C5EB8735 () office ! kde ! org
[Download RAW message or body]
CVS commit by faure:
New "configure gpgme backend" menuitem
M +12 -0 certmanager.cpp 1.100
M +1 -0 certmanager.h 1.43
M +4 -1 kleopatraui.rc 1.18
--- kdepim/certmanager/certmanager.cpp #1.99:1.100
@@ -63,4 +63,5 @@
#include <ui/progressbar.h>
#include <ui/keyselectiondialog.h>
+#include <ui/cryptoconfigdialog.h>
// GPGME++
@@ -349,4 +350,7 @@ void CertManager::createActions() {
KStdAction::preferences( this, SLOT(slotShowConfigurationDialog()), actionCollection() );
+ new KAction( i18n( "Configure &GpgME Backend" ), 0, 0, this, SLOT(slotConfigureGpgME()),
+ actionCollection(), "configure_gpgme" );
+
createStandardStatusBarAction();
updateImportActions( true );
@@ -368,4 +372,12 @@ void CertManager::slotShowConfigurationD
}
+void CertManager::slotConfigureGpgME() {
+ Kleo::CryptoConfig* config = Kleo::CryptoBackendFactory::instance()->config();
+ if ( config ) {
+ Kleo::CryptoConfigDialog dlg( config );
+ dlg.exec();
+ }
+}
+
void CertManager::slotRepaint()
{
--- kdepim/certmanager/certmanager.h #1.42:1.43
@@ -131,4 +131,5 @@ private slots:
void slotEditKeybindings();
void slotShowConfigurationDialog();
+ void slotConfigureGpgME();
void slotContextMenu(Kleo::KeyListViewItem*, const QPoint& point);
void slotDropped(const KURL::List&);
--- kdepim/certmanager/kleopatraui.rc #1.17:1.18
@@ -1,3 +1,3 @@
-<!DOCTYPE kpartgui ><kpartgui name="kleopatra" version="16" >
+<!DOCTYPE kpartgui ><kpartgui name="kleopatra" version="17" >
<MenuBar>
<Menu name="file">
@@ -39,4 +39,7 @@
<Action name="tools_start_kwatchgnupg"/>
</Menu>
+ <Menu name="settings">
+ <Action name="configure_gpgme"/>
+ </Menu>
</MenuBar>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic