[game-data-packager] 02/02: doom2 masterlevels: show tooltip about update-alternatives only on Debian

Alexandre Detiste detiste-guest at moszumanska.debian.org
Tue Nov 3 22:55:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit ed72ebaf6f4037e7909561f167595fba85238497
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Tue Nov 3 23:54:46 2015 +0100

    doom2 masterlevels: show tooltip about update-alternatives only on Debian
---
 runtime/doom2-masterlevels.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/runtime/doom2-masterlevels.py b/runtime/doom2-masterlevels.py
index b5dca40..af598cf 100755
--- a/runtime/doom2-masterlevels.py
+++ b/runtime/doom2-masterlevels.py
@@ -231,7 +231,8 @@ class Launcher:
                 radiobutton.connect('toggled', self.select_engine)
                 i += 1
                 radiogrid.attach(radiobutton, 0, i, i, 1)
-                radiogrid.set_tooltip_text('Default can be changed with update-alternatives(8)')
+                if os.path.isfile('/etc/debian_version'):
+                    radiogrid.set_tooltip_text('Default can be changed with update-alternatives(8)')
 
         grid.attach(radiogrid, 2, 4, 1, 1)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list