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
@@ -657,7 +657,7 @@ int CLIENT_STATE::init() {
     // NOTE: this must be called AFTER
     // read_nvc_config_file()
     //
-    newer_version_startup_check();
+//    newer_version_startup_check();
 
     // parse account files again,
     // now that we know the host's venue on each project
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
@@ -196,7 +196,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
@@ -691,6 +691,7 @@ bool CAdvancedFrame::CreateMenus() {
     );
     menuHelp->AppendSeparator();
 
+/*    
     strMenuName.Printf(
         _("Check for new %s version"),
         pSkinAdvanced->GetApplicationShortName().c_str()
@@ -713,6 +714,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()
