diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | bin/net_applet | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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; |