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
4ec00170
Commit
4ec00170
authored
Jul 12, 2018
by
Clement Lefebvre
Browse files
First steps: Don't show mintdrivers button if mintdrivers isn't installed
parent
3162bad0
Changes
2
Hide whitespace changes
Inline
Side-by-side
usr/lib/linuxmint/mintwelcome/mintwelcome.py
View file @
4ec00170
...
...
@@ -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"
)
...
...
usr/share/linuxmint/mintwelcome/mintwelcome.ui
View file @
4ec00170
...
...
@@ -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>
...
...
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