File: remove-Check-New-Version.patch

package info (click to toggle)
cherrytree 0.99.48%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 22,280 kB
  • sloc: cpp: 95,372; ansic: 14,613; xml: 1,047; sh: 306; python: 198; javascript: 80; ruby: 63; makefile: 10
file content (25 lines) | stat: -rw-r--r-- 1,079 bytes parent folder | download
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
Description: Fixes #871452.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/src/ct/ct_menu_actions.cc
+++ b/src/ct/ct_menu_actions.cc
@@ -386,8 +386,6 @@
         _("Export To CherryTree Document"), sigc::mem_fun(*pActions, &CtActions::export_to_ctd)});
 
     const char* help_cat = _("Help");
-    _actions.push_back(CtMenuAction{help_cat, "ct_check_newer", "ct_network", _("_Check Newer Version"), None,
-        _("Check for a Newer Version"), sigc::mem_fun(*pActions, &CtActions::check_for_newer_version)});
     _actions.push_back(CtMenuAction{help_cat, "ct_help", "ct_help", _("Online _Manual"), "F1",
         _("Application's Online Manual"), sigc::mem_fun(*pActions, &CtActions::online_help)});
     _actions.push_back(CtMenuAction{help_cat, "ct_about", "ct_about", _("_About"), None,
--- a/src/ct/ct_menu_ui.cc
+++ b/src/ct/ct_menu_ui.cc
@@ -303,8 +303,6 @@
   </menu>
 
   <menu action='HelpMenu'>
-    <menuitem action='ct_check_newer'/>
-    <separator/>
     <menuitem action='ct_help'/>
     <separator/>
     <menuitem action='ct_about'/>