diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:29:38 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:29:38 -0500 |
commit | 32b35bafbc261d82ae091125fdda7314e05df4ac (patch) | |
tree | e50499bd23e36ce0bc73a347c3a1463dc09c38cb /src | |
parent | 8ab29ecb76559a4de53f0f4a893caf10d9ffae55 (diff) | |
download | kvpnc-32b35bafbc261d82ae091125fdda7314e05df4ac.tar.gz kvpnc-32b35bafbc261d82ae091125fdda7314e05df4ac.zip |
Fix references to user profile directory.
Diffstat (limited to 'src')
-rw-r--r-- | src/configdebugoptionsbase.ui | 2 | ||||
-rw-r--r-- | src/importopenvpnprofiledialog.cpp | 10 | ||||
-rw-r--r-- | src/kvpnc.cpp | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/configdebugoptionsbase.ui b/src/configdebugoptionsbase.ui index e72eee3..5bde4a7 100644 --- a/src/configdebugoptionsbase.ui +++ b/src/configdebugoptionsbase.ui @@ -90,7 +90,7 @@ <string>Alt+F</string> </property> <property name="toolTip" stdset="0"> - <string>Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log</string> + <string>Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log</string> </property> <property name="whatsThis" stdset="0"> <string></string> diff --git a/src/importopenvpnprofiledialog.cpp b/src/importopenvpnprofiledialog.cpp index 0f596c8..04bcefa 100644 --- a/src/importopenvpnprofiledialog.cpp +++ b/src/importopenvpnprofiledialog.cpp @@ -508,7 +508,7 @@ void ImportOpenvpnProfileDialog::canAccept() if ( TQFile ( TQString ( importprefix+"/"+cert ) ).exists() ) { - // copy to ~/.kde/share/apps/kvpnc/ and rename it + // copy to ~/.trinity/share/apps/kvpnc/ and rename it if ( config->KvpncDebugLevel > 0 ) config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+cert ) ).arg ( TQString ( certprefix+"/"+"openvpn_cert_"+profilename+"_"+cert ) ), config->debug ); TQProcess CopyProcess ( this ); @@ -548,7 +548,7 @@ void ImportOpenvpnProfileDialog::canAccept() if ( TQFile ( TQString ( importprefix+"/"+privatekey ) ).exists() ) { - // copy to ~/.kde/share/apps/kvpnc/ and rename it + // copy to ~/.trinity/share/apps/kvpnc/ and rename it if ( config->KvpncDebugLevel > 0 ) config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+privatekey ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+privatekey ) ), config->debug ); TQProcess CopyProcess ( this ); @@ -589,7 +589,7 @@ void ImportOpenvpnProfileDialog::canAccept() if ( TQFile ( TQString ( importprefix+"/"+privatekey ) ).exists() ) { - // copy to ~/.kde/share/apps/kvpnc/ and rename it + // copy to ~/.trinity/share/apps/kvpnc/ and rename it if ( config->KvpncDebugLevel > 0 ) config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+privatekey ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+privatekey ) ), config->debug ); TQProcess CopyProcess ( this ); @@ -631,7 +631,7 @@ void ImportOpenvpnProfileDialog::canAccept() if ( TQFile ( TQString ( importprefix+"/"+ca ) ).exists() ) { - // copy to ~/.kde/share/apps/kvpnc/ and rename it + // copy to ~/.trinity/share/apps/kvpnc/ and rename it if ( config->KvpncDebugLevel > 0 ) config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+ca ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+ca ) ), config->debug ); TQProcess CopyProcess ( this ); @@ -727,7 +727,7 @@ void ImportOpenvpnProfileDialog::canAccept() if ( TQFile ( TQString ( importprefix+"/"+tlsauth ) ).exists() ) { - // copy to ~/.kde/share/apps/kvpnc/ and rename it + // copy to ~/.trinity/share/apps/kvpnc/ and rename it if ( config->KvpncDebugLevel > 0 ) config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+tlsauth ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+tlsauth ) ), config->debug ); TQProcess CopyProcess ( this ); diff --git a/src/kvpnc.cpp b/src/kvpnc.cpp index c89de2f..4a22b1e 100644 --- a/src/kvpnc.cpp +++ b/src/kvpnc.cpp @@ -11847,7 +11847,7 @@ void KVpnc::readOutputFrom_vpnc() // stream << "chmod u+w /etc/resolv.conf\n"; // stream << "if [ -f /sbin/resolvconf ] ; then\n"; // stream << "sbin/resolvconf -d "+GlobalConfig->DnsDevice+"\n"; - // oldProfileName=OldDefaultroute.section('/',-2,-1); // /root/.kde/share/apps/kvpnc/default-route.<name> -> <name> + // oldProfileName=OldDefaultroute.section('/',-2,-1); // /root/.trinity/share/apps/kvpnc/default-route.<name> -> <name> // if (!oldProfileName.isEmpty() &&TQFile("/etc/resolv.conf.before.kvpnc_"+oldProfileName).exists() ) // { // if ( GlobalConfig->KvpncDebugLevel > 0 ) |