summaryrefslogtreecommitdiffstats
path: root/bin/net_applet
diff options
context:
space:
mode:
Diffstat (limited to 'bin/net_applet')
-rwxr-xr-xbin/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_applet b/bin/net_applet
index 73175e3..defa97c 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -141,7 +141,7 @@ my %actions = (
my $icon = Gtk2::StatusIcon->new;
my ($dbus, $monitor, $ifw, $interactive_cb, $ifw_alert);
-eval { $dbus = dbus_object::system_bus() };
+eval { $dbus = dbus_object::system_bus() } if !defined($global_settings{DBUS}) || text2bool($global_settings{DBUS});
eval { $monitor = network::monitor->new($dbus) } if $dbus;
eval {
$ifw = network::ifw->new($dbus, sub {