summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection_manager.pm14
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 46d2ea7..eb6614c 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -445,12 +445,14 @@ sub setup_dbus_handlers {
$dbus->{connection}->add_filter(
sub {
my ($_con, $msg) = @_;
- my $member = $msg->get_member;
- my $message = _get_network_event_message($connections, $member, $msg->get_args_list);
- $on_network_event->($message) if $on_network_event && $message;
- my $cmanager = find { $_->{connection}->get_interface eq $interface } @$cmanagers
- or return;
- $cmanager->update_networks if $member eq 'status';
+ if ($msg->get_interface eq 'com.mandriva.network') {
+ my $member = $msg->get_member;
+ my $message = _get_network_event_message($connections, $member, $msg->get_args_list);
+ $on_network_event->($message) if $on_network_event && $message;
+ my $cmanager = find { $_->{connection}->get_interface eq $interface } @$cmanagers
+ or return;
+ $cmanager->update_networks if $member eq 'status';
+ }
});
$dbus->{connection}->add_match("type='signal',interface='com.mandriva.network'");
dbus_object::set_gtk2_watch_helper($dbus);
drive capabilites (aka burning, dvd managment, ...)Thierry Vignaud2003-05-191-0/+5 * fix #3560 (drakboot not updating bootloader label): the only confusingThierry Vignaud2003-05-192-3/+15 * further fix #2826 (lilo failling to handle entry with spaces): replaceThierry Vignaud2003-05-191-0/+1 * when configuring to install grub bootloader, we first install lilo, then grub.Thierry Vignaud2003-05-191-1/+1 * let further consolidate make_label_lilo_compatible()Thierry Vignaud2003-05-191-2/+2 * fix network::netconnect::save_conf() calleeThierry Vignaud2003-05-191-1/+1 * updated Spanish translationsFabián Mandelbaum2003-05-191-221/+176 * simplifyThierry Vignaud2003-05-191-5/+2 * do not drop return values from regexp but use them to ensure we do notThierry Vignaud2003-05-191-1/+1 * move expert stuff under the "advanced" button like in all other drakx/drakxto...Thierry Vignaud2003-05-191-7/+6 * %langs: first column is supposed to be localized in englishThierry Vignaud2003-05-191-3/+3 * last 9.1-38mdk bitsThierry Vignaud2003-05-191-1/+7 * update perl-gtk0 users list (drakcronat being ported to gtk+2)Thierry Vignaud2003-05-191-1/+4 * first bits of 9.1-38mdkThierry Vignaud2003-05-161-2/+5 * updated pot filePablo Saratxaga2003-05-16