Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FUSS
fuss-welcome
Commits
72f33b30
Commit
72f33b30
authored
Aug 05, 2018
by
Clement Lefebvre
Browse files
Remove "new features" section in LMDE
LMDE doesn't have point releases nor new features pages.
parent
023a5105
Changes
2
Hide whitespace changes
Inline
Side-by-side
usr/lib/linuxmint/mintwelcome/mintwelcome.py
View file @
72f33b30
...
...
@@ -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"
)
...
...
usr/share/linuxmint/mintwelcome/mintwelcome.ui
View file @
72f33b30
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment