Remove tacky donate option and redirect bug reporting URL to the TDE bugtracker

pull/1/head
Timothy Pearson 13 years ago
parent 4ac042ac75
commit 4291ef4942

@ -345,7 +345,7 @@ KVpnc::~KVpnc()
delete DisconnectAction;
delete ProfileManagerAction;
delete NewProfileWizardAction;
delete DonateAction;
// delete DonateAction;
delete ReportBugAction;
delete DebugconsoleAction;
delete ToolsInfoAction;
@ -385,7 +385,7 @@ void KVpnc::initAction()
DisconnectAction = new KAction ( i18n ( "&Disconnect" ), "disconnected", CTRL + Key_Down, this, TQT_SLOT ( disconnectClicked() ), actionCollection(), "serverDisconnect" );
ProfileManagerAction = new KAction ( i18n ( "&Manage Profiles" ), "view_detailed", CTRL + Key_M, this, TQT_SLOT ( showProfileManagerClicked() ), actionCollection(), "profileManager" );
NewProfileWizardAction = new KAction ( i18n ( "&new Profile (Wizard)" ), "wizard", CTRL + Key_W, this, TQT_SLOT ( showNewProfileWizardClicked() ), actionCollection(), "NewProfileWizard" );
DonateAction = new KAction ( i18n ( "&Support KVpnc..." ), "donate", CTRL + Key_D, this, TQT_SLOT ( donateClicked() ), actionCollection(), "donate" );
// DonateAction = new KAction ( i18n ( "&Support KVpnc..." ), "donate", CTRL + Key_D, this, TQT_SLOT ( donateClicked() ), actionCollection(), "donate" );
ReportBugAction = new KAction ( i18n ( "&Report a bug..." ), "bug", CTRL + Key_R, this, TQT_SLOT ( reportBugClicked() ), actionCollection(), "reportbug" );
DebugconsoleAction = new KToggleAction ( i18n ( "Toggle Debug &Console" ), "text_center", CTRL + Key_C, this, TQT_SLOT ( toggleDebugConsole() ), actionCollection(), "debugconsole" );
ToolsInfoAction = new KToggleAction ( i18n ( "Show &Tools Info" ), "info", CTRL + Key_I, this, TQT_SLOT ( toolsInfoClicked() ), actionCollection(), "toolsinfo" );
@ -11366,7 +11366,7 @@ void KVpnc::vpnTypesInfoClicked()
VpnTypesInfoAction->setChecked ( false );
}
void KVpnc::donateClicked()
/*void KVpnc::donateClicked()
{
this->slotStatusMsg ( i18n ( "Calling KVpnc website..." ), ID_FLASH_MSG );
TQString donateurl = "http://home.gna.org/kvpnc/en/donate.html";
@ -11402,11 +11402,11 @@ void KVpnc::donateClicked()
DonateProcess=0L;
this->slotStatusMsg ( i18n ( "Ready." ), ID_STATUS_MSG );
}
}*/
void KVpnc::reportBugClicked()
{
TQString bugreporturl = "https://gna.org/bugs/?group=kvpnc";
TQString bugreporturl = "http://bugs.trinitydesktop.org";
TQString browser = TQString ( KConfigGroup ( KGlobal::config(), "General" ).readEntry ( "BrowserApplication" ) ).remove ( "!", "" );
if ( browser.isEmpty() )

@ -169,7 +169,7 @@ private:
KAction *NewProfileWizardAction;
KAction *HelpAction;
KAction *PrefAction;
KAction *DonateAction;
// KAction *DonateAction;
KAction *ReportBugAction;
KAction *SendFeedbackMailAction;
KAction *PreferencesAction; //< show preferences dialog
@ -284,7 +284,7 @@ private:
TQProcess *OpenL2tpProcess;
TQProcess *RemoveSetkeyProcess;
TQProcess *BugReportProcess;
TQProcess *DonateProcess;
// TQProcess *DonateProcess;
TQProcess *VtundProcess;
TQProcess *StartStopOpenl2tpProcess;
KProcess *SshProcess;
@ -349,7 +349,7 @@ public slots:
void helpClicked();
void toolsInfoClicked();
void vpnTypesInfoClicked();
void donateClicked();
// void donateClicked();
void reportBugClicked();
void saveGuiOptions();
void showNewProfileWizardClicked();

Loading…
Cancel
Save