Skip to contentSkip to conversation

Icon Class Bug

PATCH Endres Puschner 2 participants 2 messages Apr 18, 2011

lore
Share & tools
lore
#0 lore raw

Hi grub-devel,

as it is better to send Bugs seperate to the features, I would send you the bug I fixed in "Horizontal boot menu" seperately now.

It is in the icon section. The first group in any menuentry was skipped while looking for icons before, so only icons for the second class would be searched.

Best regards,
Endres

=== modified file 'grub-core/gfxmenu/icon_manager.c'

gfxmenu/icon_manager.c +1 -1
@@ -257,7 +257,7 @@
 
   /* Try each class in succession.  */
   icon = 0;
-  for (c = entry->classes->next; c && ! icon; c = c->next)
+  for (c = entry->classes; c && ! icon; c = c->next)
     icon = get_icon_by_class (mgr, c->name);
   return icon;
 }
#1 lore raw
Quoted 9 lines · Endres Puschner

Hi grub-devel,

as it is better to send Bugs seperate to the features, I would send you the bug I fixed in "Horizontal boot menu" seperately now.

It is in the icon section. The first group in any menuentry was skipped while looking for icons before, so only icons for the second class would be searched.

committed thanks. Nest time please include changelog entry.

Quoted 8 lines

Best regards,
Endres

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko