summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-30 20:26:17 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-30 20:26:17 +0000
commit3a4a2d8fb8ba2e78b56f2048b644fcafcd13543a (patch)
tree458054fa7df02154f48e412b199def2c70690985 /bin
parent703c9efba589c3ab8ac5a6a2c01f27fc40a5278b (diff)
downloaddrakx-net-3a4a2d8fb8ba2e78b56f2048b644fcafcd13543a.tar
drakx-net-3a4a2d8fb8ba2e78b56f2048b644fcafcd13543a.tar.gz
drakx-net-3a4a2d8fb8ba2e78b56f2048b644fcafcd13543a.tar.bz2
drakx-net-3a4a2d8fb8ba2e78b56f2048b644fcafcd13543a.tar.xz
drakx-net-3a4a2d8fb8ba2e78b56f2048b644fcafcd13543a.zip
do not try to run ifw code if disabled (total memory gain of 156 kB after network::net_applet::ifw move, if D-Bus is disabled)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_applet b/bin/net_applet
index 52f4bce..7175693 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -200,7 +200,7 @@ $icon->signal_connect(popup_menu => sub {
checkNetworkForce();
cronNetwork();
gtkflush(); #- for notifications to appear on the status icon position
-network::net_applet::ifw::get_unprocessed_ifw_messages();
+network::net_applet::ifw::get_unprocessed_ifw_messages() if $ifw;
$SIG{HUP} = sub {
print "received SIGHUP, reloading network configuration\n";