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
6effd56d
Commit
6effd56d
authored
Oct 23, 2018
by
Isaac Carter
Committed by
Clement Lefebvre
Oct 23, 2018
Browse files
mintwelcome: Added Firewall Configuration to the Welcome app. (#36)
parent
8329b702
Changes
2
Hide whitespace changes
Inline
Side-by-side
usr/lib/linuxmint/mintwelcome/mintwelcome.py
View file @
6effd56d
...
...
@@ -82,6 +82,7 @@ class MintWelcome():
builder
.
get_object
(
"button_mintinstall"
).
connect
(
"clicked"
,
self
.
launch
,
"mintinstall"
)
builder
.
get_object
(
"button_timeshift"
).
connect
(
"clicked"
,
self
.
pkexec
,
"timeshift-gtk"
)
builder
.
get_object
(
"button_mintdrivers"
).
connect
(
"clicked"
,
self
.
pkexec
,
"driver-manager"
)
builder
.
get_object
(
"button_gufw"
).
connect
(
"clicked"
,
self
.
launch
,
"gufw"
)
# Settings button depends on DE
if
os
.
getenv
(
"XDG_CURRENT_DESKTOP"
)
in
[
"Cinnamon"
,
"X-Cinnamon"
]:
...
...
usr/share/linuxmint/mintwelcome/mintwelcome.ui
View file @
6effd56d
...
...
@@ -1212,6 +1212,111 @@
<property
name=
"position"
>
5
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
id=
"box_gufw"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"spacing"
>
24
</property>
<child>
<object
class=
"GtkBox"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"valign"
>
start
</property>
<property
name=
"margin_top"
>
6
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
12
</property>
<child>
<object
class=
"GtkImage"
id=
"image_gufw"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"icon_name"
>
gufw
</property>
<property
name=
"icon_size"
>
6
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
3
</property>
<child>
<object
class=
"GtkLabel"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Firewall Configuration
</property>
<property
name=
"xalign"
>
0
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
<attribute
name=
"scale"
value=
"1.2"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Control and monitor network traffic by enabling the ufw to your own security rules .
</property>
<property
name=
"wrap"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"button_gufw"
>
<property
name=
"label"
translatable=
"yes"
>
Launch
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"margin_top"
>
3
</property>
<style>
<class
name=
"suggested-action"
/>
<class
name=
"text-button"
/>
</style>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"pack_type"
>
end
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
6
</property>
</packing>
</child>
</object>
</child>
</object>
...
...
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