[playonlinux] 132/230: Disable update alert
Bertrand Marc
bmarc at moszumanska.debian.org
Sun Jul 9 17:41:50 UTC 2017
This is an automated email from the git hooks/post-receive script.
bmarc pushed a commit to branch master
in repository playonlinux.
commit d3f604421661d3467ea3789a259ec04aca5d4f93
Author: Bertrand Marc <beberking at gmail.com>
Date: Sat Sep 3 13:15:40 2011 +0000
Disable update alert
---
debian/changelog | 4 +++-
debian/patches/disable_update_alert.diff | 11 +++++++++++
debian/patches/series | 1 +
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index dc64695..fb955a6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,10 @@ playonlinux (4.0.11-1) unstable; urgency=low
* debian/rules: remove permission fixing.
* debian/rules: add build-arch and build-indep.
* Migrate to dh_python2.
+ * debian/patches: disable update alert on new release
+ (Closes: #639463).
- -- Bertrand Marc <beberking at gmail.com> Sat, 03 Sep 2011 11:26:23 +0200
+ -- Bertrand Marc <beberking at gmail.com> Sat, 03 Sep 2011 15:14:45 +0200
playonlinux (3.8.12-1) UNRELEASED; urgency=low
diff --git a/debian/patches/disable_update_alert.diff b/debian/patches/disable_update_alert.diff
new file mode 100644
index 0000000..382c3c2
--- /dev/null
+++ b/debian/patches/disable_update_alert.diff
@@ -0,0 +1,11 @@
+--- a/python/mainwindow.py
++++ b/python/mainwindow.py
+@@ -68,7 +68,7 @@
+
+ if(playonlinux.convertVersionToInt(os.environ["VERSION"]) < playonlinux.convertVersionToInt(self.WebVersion)):
+ self.sendToStatusBar(_('An updated version of {0} is available').format(os.environ["APPLICATION_TITLE"])+" ("+self.WebVersion+")",False)
+- self.sendAlert(_('An updated version of {0} is available').format(os.environ["APPLICATION_TITLE"])+" ("+self.WebVersion+")")
++ #self.sendAlert(_('An updated version of {0} is available').format(os.environ["APPLICATION_TITLE"])+" ("+self.WebVersion+")")
+ else:
+ self.Show = False
+
diff --git a/debian/patches/series b/debian/patches/series
index bdee41c..d73c971 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
locale.diff
x-terminal-emulator.diff
mscorefonts.diff
+disable_update_alert.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/playonlinux.git
More information about the Pkg-games-commits
mailing list