summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_applet b/bin/net_applet
index 68fecbd..a72f128 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -472,7 +472,7 @@ sub create_menu_choices {
$get_icon ?
(0, gtknew('Image', file => $get_icon->($_))) :
(),
- ])), $selected->($choice)));
+ ])), $selected->($choice) || 0));
gtksignal_connect($w, activate => sub { $actions{$action}{launch}->($choice) });
$w->set_draw_as_radio(!$actions{$action}{use_checkbox});
$w;