diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-08-17 14:35:42 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-08-17 14:35:42 +0000 |
commit | a26ec2fa66ce6ee21d93fe29898c526d17fde253 (patch) | |
tree | 5339c4c9c8caa15a11a602137340278563d44c62 /lib/network/netcenter.pm | |
parent | eaa1efda85f50259529c6038cc808df2e636da63 (diff) | |
download | drakx-net-a26ec2fa66ce6ee21d93fe29898c526d17fde253.tar drakx-net-a26ec2fa66ce6ee21d93fe29898c526d17fde253.tar.gz drakx-net-a26ec2fa66ce6ee21d93fe29898c526d17fde253.tar.bz2 drakx-net-a26ec2fa66ce6ee21d93fe29898c526d17fde253.tar.xz drakx-net-a26ec2fa66ce6ee21d93fe29898c526d17fde253.zip |
show profile information when necessary in network center
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-x | lib/network/netcenter.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index f6deee3..7f5c151 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -161,6 +161,7 @@ sub main { gtkadd($w->{window}, gtknew('VBox', spacing => 5, children => [ $::isEmbedded ? () : (0, Gtk2::Banner->new($icon, $title)), + if_($net->{PROFILE} && network::network::netprofile_count() > 0, 0, gtknew('Label', text_markup => N("You are currently using the network profile <b>%s</b>", $net->{PROFILE})) ), 1, gtknew('ScrolledWindow', width => 600, height => $scrolled_height, shadow_type => 'none', child => $managers_box = gtknew('VBox', spacing => 5, children_tight => [ map_index { build_cmanager_box($_, $::i == 0) } @cmanagers, |