Commit 72f33b30 authored by Clement Lefebvre's avatar Clement Lefebvre
Browse files

Remove "new features" section in LMDE

LMDE doesn't have point releases nor new features pages.
parent 023a5105
......@@ -103,9 +103,15 @@ class MintWelcome():
add_codecs = True
if not add_codecs:
builder.get_object("box_first_steps").remove(builder.get_object("box_codecs"))
# Hide drivers if mintdrivers is absent (LMDE)
if not os.path.exists("/usr/bin/mintdrivers"):
builder.get_object("box_first_steps").remove(builder.get_object("box_drivers"))
# Hide new features page for LMDE
if dist_name == "LMDE":
builder.get_object("box_documentation").remove(builder.get_object("box_new_features"))
# Construct the stack switcher
list_box = builder.get_object("list_navigation")
......
......@@ -225,7 +225,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkBox">
<object class="GtkBox" id="box_documentation">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">24</property>
......@@ -337,7 +337,7 @@
</packing>
</child>
<child>
<object class="GtkBox">
<object class="GtkBox" id="box_new_features">
<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