diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-12 11:52:21 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-12 11:52:21 +0000 |
commit | f38d797e29dff82f9c1a6d469b48b8440d3775a7 (patch) | |
tree | 517d0825a17db7d0be17b6e4b5cbc880ca9f4c3f /bin | |
parent | 50a03e4f30160176c32840840082cd8e8db94a70 (diff) | |
download | drakx-net-f38d797e29dff82f9c1a6d469b48b8440d3775a7.tar drakx-net-f38d797e29dff82f9c1a6d469b48b8440d3775a7.tar.gz drakx-net-f38d797e29dff82f9c1a6d469b48b8440d3775a7.tar.bz2 drakx-net-f38d797e29dff82f9c1a6d469b48b8440d3775a7.tar.xz drakx-net-f38d797e29dff82f9c1a6d469b48b8440d3775a7.zip |
use NET_APPLET_DBUS variable in /etc/sysconfig/drakx-net as D-Bus option
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/net_applet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/net_applet b/bin/net_applet index 5cb7882..4c91f32 100755 --- a/bin/net_applet +++ b/bin/net_applet @@ -23,7 +23,7 @@ use Gtk2::Notify -init, 'notify'; use ugtk2 qw(:create :helpers :wrappers :dialogs); my $onstartupfile = "$ENV{HOME}/.net_applet"; -my $system_file = '/etc/sysconfig/net_applet'; +my $system_file = '/etc/sysconfig/drakx-net'; shouldStart() or die "$onstartupfile should be set to TRUE or use net_applet --force\n"; #- Allow multiple instances, but only one per user: @@ -174,7 +174,7 @@ my %actions = ( $icon = Gtk2::StatusIcon->new; my ($monitor); -eval { $dbus = dbus_object::system_bus() } if !defined($global_settings{DBUS}) || text2bool($global_settings{DBUS}); +eval { $dbus = dbus_object::system_bus() } if !defined($global_settings{NET_APPLET_DBUS}) || text2bool($global_settings{NET_APPLET_DBUS}); eval { $monitor = network::monitor->new($dbus) } if $dbus; eval { require network::net_applet::ifw; |