From 3a4a2d8fb8ba2e78b56f2048b644fcafcd13543a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 30 Apr 2008 20:26:17 +0000 Subject: 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) --- bin/net_applet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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"; -- cgit v1.2.1