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 c9fa54f903cb485f847232906761383a27af3728
Author: Alexandre Detiste <[email protected]>
Date:   Thu Nov 24 08:36:54 2016 +0100

    doom2-masterlevels: only show tooltip when appropirate (regression)
---
 runtime/doom2-masterlevels.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/runtime/doom2-masterlevels.py b/runtime/doom2-masterlevels.py
index 8dae8c4..96ea916 100755
--- a/runtime/doom2-masterlevels.py
+++ b/runtime/doom2-masterlevels.py
@@ -240,10 +240,11 @@ class Launcher:
                 self.button_conf = Gtk.Button(label="Configure")
                 radiogrid.attach(self.button_conf,1, i, 1, 1)
                 self.button_conf.connect("clicked", self.chocolate_setup)
-            if os.path.isfile('/etc/debian_version'):
-                radiogrid.set_tooltip_text('Default can be changed with 
"update-alternatives --config doom"')
             i += 1
 
+        if i > 1 and os.path.isfile('/etc/debian_version'):
+            radiogrid.set_tooltip_text('Default can be changed with 
"update-alternatives --config doom"')
+
         grid.attach(radiogrid, 2, 4, 1, 1)
 
         # Run !

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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to