summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xbin/net_applet2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d066172..c379709 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- fix "undefined value for mandatory argument 'is_active'" (mga#11763)
- fix "undefined value for mandatory argument 'sensitive'" (mga#11764)
2.0
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;