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 DisconnectAction;
delete ProfileManagerAction; delete ProfileManagerAction;
delete NewProfileWizardAction; delete NewProfileWizardAction;
delete DonateAction; // delete DonateAction;
delete ReportBugAction; delete ReportBugAction;
delete DebugconsoleAction; delete DebugconsoleAction;
delete ToolsInfoAction; delete ToolsInfoAction;
@ -385,7 +385,7 @@ void KVpnc::initAction()
DisconnectAction = new KAction ( i18n ( "&Disconnect" ), "disconnected", CTRL + Key_Down, this, TQT_SLOT ( disconnectClicked() ), actionCollection(), "serverDisconnect" ); 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" ); 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" ); 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" ); 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" ); 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" ); 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 ); VpnTypesInfoAction->setChecked ( false );
} }
void KVpnc::donateClicked() /*void KVpnc::donateClicked()
{ {
this->slotStatusMsg ( i18n ( "Calling KVpnc website..." ), ID_FLASH_MSG ); this->slotStatusMsg ( i18n ( "Calling KVpnc website..." ), ID_FLASH_MSG );
TQString donateurl = "http://home.gna.org/kvpnc/en/donate.html"; TQString donateurl = "http://home.gna.org/kvpnc/en/donate.html";
@ -11402,11 +11402,11 @@ void KVpnc::donateClicked()
DonateProcess=0L; DonateProcess=0L;
this->slotStatusMsg ( i18n ( "Ready." ), ID_STATUS_MSG ); this->slotStatusMsg ( i18n ( "Ready." ), ID_STATUS_MSG );
} }*/
void KVpnc::reportBugClicked() 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 ( "!", "" ); TQString browser = TQString ( KConfigGroup ( KGlobal::config(), "General" ).readEntry ( "BrowserApplication" ) ).remove ( "!", "" );
if ( browser.isEmpty() ) if ( browser.isEmpty() )

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

Loading…
Cancel
Save