summaryrefslogtreecommitdiffstats
path: root/lib/network/signal_strength.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/signal_strength.pm')
-rw-r--r--lib/network/signal_strength.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/signal_strength.pm b/lib/network/signal_strength.pm
index 0e69108..8a3a5be 100644
--- a/lib/network/signal_strength.pm
+++ b/lib/network/signal_strength.pm
@@ -2,14 +2,14 @@ package network::signal_strength;
use lib qw(/usr/lib/libDrakX); # helps perl_checker
use common;
-use ugtk2;
+use ugtk3;
my %pixbufs;
sub get_strength_icon {
my ($network) = @_;
my $approx = 20 + min(80, int($network->{signal_strength}/20)*20);
- return $pixbufs{$approx} ||= ugtk2::gtkcreate_pixbuf('wifi-' . sprintf('%03d', $approx));
+ return $pixbufs{$approx} ||= ugtk3::gtkcreate_pixbuf('wifi-' . sprintf('%03d', $approx));
}
1;