summaryrefslogtreecommitdiffstats
path: root/bin
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 /bin
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)
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;