1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
|
Description: Disable new version check in notices tab
Debian/Ubuntu specific patch.
Author: Gianfranco Costamagna <locutusofborg@debian.org>,
ChristianB
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1140597
---
Forwarded: not-needed
Reviewed-By: Gianfranco Costamagna <locutusofborg@debian.org>
Last-Update: <2013-03-07>
Index: boinc/client/client_state.cpp
===================================================================
--- boinc.orig/client/client_state.cpp
+++ boinc/client/client_state.cpp
@@ -723,7 +723,7 @@ int CLIENT_STATE::init() {
// NOTE: this must be called AFTER
// read_nvc_config_file()
//
- newer_version_startup_check();
+// newer_version_startup_check();
#if !defined(SIM) && defined(_WIN32)
show_wsl_messages();
Index: boinc/client/scheduler_op.cpp
===================================================================
--- boinc.orig/client/scheduler_op.cpp
+++ boinc/client/scheduler_op.cpp
@@ -140,7 +140,7 @@ int SCHEDULER_OP::init_op_project(PROJEC
// and project list
//
if (!cc_config.no_info_fetch) {
- gstate.new_version_check();
+// gstate.new_version_check();
gstate.all_projects_list_check();
}
}
Index: boinc/clientgui/AdvancedFrame.cpp
===================================================================
--- boinc.orig/clientgui/AdvancedFrame.cpp
+++ boinc/clientgui/AdvancedFrame.cpp
@@ -195,7 +195,7 @@ BEGIN_EVENT_TABLE (CAdvancedFrame, CBOIN
EVT_MENU(ID_HELPBOINCMANAGER, CAdvancedFrame::OnHelpBOINC)
EVT_MENU(ID_HELPBOINCWEBSITE, CAdvancedFrame::OnHelpBOINC)
EVT_MENU(wxID_ABOUT, CAdvancedFrame::OnHelpAbout)
- EVT_MENU(ID_CHECK_VERSION, CAdvancedFrame::OnCheckVersion)
+ //EVT_MENU(ID_CHECK_VERSION, CAdvancedFrame::OnCheckVersion)
EVT_MENU(ID_REPORT_BUG, CAdvancedFrame::OnReportBug)
EVT_HELP(wxID_ANY, CAdvancedFrame::OnHelp)
// Custom Events & Timers
@@ -690,6 +690,7 @@ bool CAdvancedFrame::CreateMenus() {
);
menuHelp->AppendSeparator();
+/*
strMenuName.Printf(
_("Check for new %s version"),
pSkinAdvanced->GetApplicationShortName().c_str()
@@ -712,6 +713,7 @@ bool CAdvancedFrame::CreateMenus() {
);
menuHelp->AppendSeparator();
+*/
strMenuName.Printf(
_("&About %s..."),
pSkinAdvanced->GetApplicationName().c_str()
Index: boinc/clientgui/sg_BoincSimpleFrame.cpp
===================================================================
--- boinc.orig/clientgui/sg_BoincSimpleFrame.cpp
+++ boinc/clientgui/sg_BoincSimpleFrame.cpp
@@ -92,7 +92,7 @@ BEGIN_EVENT_TABLE(CSimpleFrame, CBOINCBa
EVT_MENU(ID_HELPBOINCMANAGER, CSimpleFrame::OnHelpBOINC)
EVT_MENU(ID_HELPBOINCWEBSITE, CSimpleFrame::OnHelpBOINC)
EVT_MENU(wxID_ABOUT, CSimpleFrame::OnHelpAbout)
- EVT_MENU(ID_CHECK_VERSION, CSimpleFrame::OnCheckVersion)
+ //EVT_MENU(ID_CHECK_VERSION, CSimpleFrame::OnCheckVersion)
EVT_MENU(ID_REPORT_BUG, CSimpleFrame::OnReportBug)
EVT_MENU(ID_EVENTLOG, CSimpleFrame::OnEventLog)
EVT_MOVE(CSimpleFrame::OnMove)
@@ -323,6 +323,7 @@ bool CSimpleFrame::CreateMenus() {
);
menuHelp->AppendSeparator();
+/*
strMenuName.Printf(
_("Check for new %s version"),
pSkinAdvanced->GetApplicationShortName().c_str()
@@ -345,6 +346,7 @@ bool CSimpleFrame::CreateMenus() {
);
menuHelp->AppendSeparator();
+*/
strMenuName.Printf(
_("&About %s..."),
pSkinAdvanced->GetApplicationName().c_str()
|