summaryrefslogtreecommitdiffstats
path: root/lib/network/connection_manager.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-20 23:28:51 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-20 23:28:51 +0000
commitbab6d34e888582399860da641d990da1ecf05e06 (patch)
treec8205db65baf4334486eaa522d67f1fc7bbcf27c /lib/network/connection_manager.pm
parent1cea8488e9dafbf723dbc4873018945a4ceed44a (diff)
downloaddrakx-net-bab6d34e888582399860da641d990da1ecf05e06.tar
drakx-net-bab6d34e888582399860da641d990da1ecf05e06.tar.gz
drakx-net-bab6d34e888582399860da641d990da1ecf05e06.tar.bz2
drakx-net-bab6d34e888582399860da641d990da1ecf05e06.tar.xz
drakx-net-bab6d34e888582399860da641d990da1ecf05e06.zip
do not use big titles, only bold labels
Diffstat (limited to 'lib/network/connection_manager.pm')
-rw-r--r--lib/network/connection_manager.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 83def2d..e9cc7d9 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -255,6 +255,10 @@ sub update_networks {
sub update_on_status_change {
my ($cmanager) = @_;
+ if ($cmanager->{connection} && !keys %{$cmanager->{connection}{networks}}) {
+ use Data::Dumper; print Dumper($cmanager->{connection}, $cmanager->{connection}->get_status, $cmanager->{connection}->get_interface);
+ }
+
if ($cmanager->{gui}{buttons}{connect_toggle}) {
my $disconnect = toggle_would_disconnect($cmanager);
$cmanager->{gui}{buttons}{connect_toggle}->set_label($disconnect ? N("Disconnect") : N("Connect"));