summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 9e27718e..f938e2a8 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -634,6 +634,7 @@ sub setState {
my $menu = Gtk2::Menu->new;
foreach (@arr) {
my $action = $actions{$_};
+ next if !ref($action->{launch});
$menu->append(gtksignal_connect(gtkshow(Gtk2::MenuItem->new_with_label($action->{name})), activate => $action->{launch}));
}
$menu->append(gtkshow(Gtk2::SeparatorMenuItem->new));