summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-10 12:43:35 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-10 12:43:35 +0000
commit727f174499d540afa78ff64ff97cb197bfffc024 (patch)
tree923e0a3e353bf66d54bec3b8e6117835d29ffd34
parent6ab333bfb716cc726b2bcf6bf0ba5525350dbd96 (diff)
downloaddrakx-net-727f174499d540afa78ff64ff97cb197bfffc024.tar
drakx-net-727f174499d540afa78ff64ff97cb197bfffc024.tar.gz
drakx-net-727f174499d540afa78ff64ff97cb197bfffc024.tar.bz2
drakx-net-727f174499d540afa78ff64ff97cb197bfffc024.tar.xz
drakx-net-727f174499d540afa78ff64ff97cb197bfffc024.zip
(choose_allowed_services) do not display any banner when embedded (#44732)
-rw-r--r--NEWS3
-rw-r--r--lib/network/drakfirewall.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 8ac0e6e..af4e442 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- drakfirewall:
+ o do not display any banner when embedded (#44732)
+
0.52:
- wireless backend:
o correctly initialize monitor object in
diff --git a/lib/network/drakfirewall.pm b/lib/network/drakfirewall.pm
index e1189c0..c1693f5 100644
--- a/lib/network/drakfirewall.pm
+++ b/lib/network/drakfirewall.pm
@@ -197,7 +197,7 @@ sub choose_allowed_services {
$in->ask_from_({
title => N("Firewall"),
icon => $network::shorewall::firewall_icon,
- banner_title => N("Firewall"),
+ if_(!$::isEmbedded, banner_title => N("Firewall")),
advanced_messages => N("You can enter miscellaneous ports.
Valid examples are: 139/tcp 139/udp 600:610/tcp 600:610/udp.
Have a look at /etc/services for information."),