summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-xlib/network/netcenter.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 14df14f..ca2a46c 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -80,7 +80,7 @@ sub main {
gtkset_image(gtknew('Button'), 'disconnected'),
gtkset_image(gtknew('Button'), 'monitor-24'),
gtkset_image(gtknew('Button'), 'configure-24'),
- ($cmanager->{gui}{show_networks} ? (0, gtkset_image(gtknew('Button'), 'refresh')) : ()),
+ ($cmanager->{gui}{show_networks} ? gtkset_image(gtknew('Button'), 'refresh') : ()),
]),
]),
]),