xdg-menu/xdg-menu-accept-defaultlayout-bnc529057.patch

15 lines
295 B
Diff
Raw Normal View History

--- xdg_menu
+++ xdg_menu
@@ -638,6 +638,11 @@
interpret_Exclude($tree->[$i], $menu{'entries'}, $pool);
$i++;
}
+ elsif ($tree->[$i] eq 'DefaultLayout') {
+ #FIXME: use the values
+ $i++;
+ $i++;
+ }
elsif ($tree->[$i] eq '0') {
$i++;
if ($tree->[$i] !~ /^\s*$/) {