Commit 4ec00170 authored by Clement Lefebvre's avatar Clement Lefebvre
Browse files

First steps: Don't show mintdrivers button if mintdrivers isn't installed

parent 3162bad0
......@@ -103,6 +103,8 @@ class MintWelcome():
add_codecs = True
if not add_codecs:
builder.get_object("box_first_steps").remove(builder.get_object("box_codecs"))
if not os.path.exists("/usr/bin/mintdrivers"):
builder.get_object("box_first_steps").remove(builder.get_object("box_drivers"))
# Construct the stack switcher
list_box = builder.get_object("list_navigation")
......
......@@ -688,7 +688,7 @@
</packing>
</child>
<child>
<object class="GtkBox">
<object class="GtkBox" id="box_drivers">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">24</property>
......
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