File: 0002-disable-update-warning.patch

package info (click to toggle)
eric 24.8%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 104,772 kB
  • sloc: python: 332,422; javascript: 309; xml: 215; makefile: 24
file content (33 lines) | stat: -rw-r--r-- 1,482 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
26
27
28
29
30
31
32
33
From: "Gudjon I. Gudjonsson" <gudjon@gudjon.org>
Date: Fri, 27 Apr 2018 22:52:20 +0200
Subject: _disable-update-warning

Disable checking of updates of eric and plugin repository at startup.
Disable download of new version of eric.
---
 eric/src/eric7/UI/UserInterface.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/eric/src/eric7/UI/UserInterface.py b/eric/src/eric7/UI/UserInterface.py
index 8260eaa..b2f7547 100644
--- a/eric/src/eric7/UI/UserInterface.py
+++ b/eric/src/eric7/UI/UserInterface.py
@@ -7402,7 +7402,7 @@ class UserInterface(EricMainWindow):
             else:
                 self.__setWindowCaption(editor="")
 
-        self.performVersionCheck()
+        #self.performVersionCheck()
 
         SpellChecker.setDefaultLanguage(
             Preferences.getEditor("SpellCheckingDefaultLanguage")
@@ -8553,7 +8553,8 @@ class UserInterface(EricMainWindow):
                         """<p>A newer version of the <b>eric-ide</b> package is"""
                         """ available at <a href="{0}/eric-ide/">"""
                         """PyPI</a>.</p><p>Installed: {1}<br/>Available: <b>{2}</b>"""
-                        """</p><p>Shall <b>eric-ide</b> be upgraded?</p>"""
+                        """<br/>Please ask the Debian package maintainer to package it."""
+                        """</p>"""
                     ).format(
                         self.pipInterface.getIndexUrlPypi(),
                         VersionOnly,