diff options
Diffstat (limited to 'perl-install/standalone')
-rw-r--r-- | perl-install/standalone/net_applet | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index 3af100990..76e808a03 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -8,11 +8,7 @@ use Digest::MD5; use Gtk2::TrayIcon; -eval { require ugtk2; ugtk2->import(qw(:all)); require Gtk2::Pango }; -if ($@) { - print "This program cannot be run in console mode.\n"; - c::_exit(0); #- skip ugtk2::END -} +use ugtk2 qw(:create :helpers :wrappers); my ($eventbox, $img); my ($menu, $_timeout); |