summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-26 07:59:48 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-26 07:59:48 +0100
commita2611ca014bfe8bfbbeb8e6a1a2d7d366d3b3b6d (patch)
treebfa445ecf4660688608bdcb9176d0e9dc3a78535
parentea7d2dc21a7e91ea81bc6d9fbb0cea8b27e38099 (diff)
downloaddrakx-net-a2611ca014bfe8bfbbeb8e6a1a2d7d366d3b3b6d.tar
drakx-net-a2611ca014bfe8bfbbeb8e6a1a2d7d366d3b3b6d.tar.gz
drakx-net-a2611ca014bfe8bfbbeb8e6a1a2d7d366d3b3b6d.tar.bz2
drakx-net-a2611ca014bfe8bfbbeb8e6a1a2d7d366d3b3b6d.tar.xz
drakx-net-a2611ca014bfe8bfbbeb8e6a1a2d7d366d3b3b6d.zip
- fix "undefined value for mandatory argument 'is_active'" (mga#11763)
-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;