Commit c9fa54f9 authored by Alexandre Detiste's avatar Alexandre Detiste

doom2-masterlevels: only show tooltip when appropirate (regression)

parent 239373c7
......@@ -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 !
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment