From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QBoiF-0005WH-VI for mharc-grub-devel@gnu.org; Mon, 18 Apr 2011 09:42:00 -0400 Received: from eggs.gnu.org ([140.186.70.92]:39427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBoiA-0005Vl-MU for grub-devel@gnu.org; Mon, 18 Apr 2011 09:41:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBoi9-0002yO-IT for grub-devel@gnu.org; Mon, 18 Apr 2011 09:41:54 -0400 Received: from rodiac-telecom-14.de ([213.131.249.231]:48667 helo=rodiac10.rodiac-telecom-14.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBoi9-0002xQ-1c for grub-devel@gnu.org; Mon, 18 Apr 2011 09:41:53 -0400 Received: from [192.168.2.143] (p5082AC24.dip.t-dialin.net [80.130.172.36]) (authenticated bits=0) by rodiac10.rodiac-telecom-14.de (8.14.0/8.13.8) with ESMTP id p3IDfjTW010416 for ; Mon, 18 Apr 2011 15:41:47 +0200 Message-ID: <4DAC3F8F.6000007@e7p.de> Date: Mon, 18 Apr 2011 15:41:35 +0200 From: Endres Puschner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Icon Class Bug Content-Type: multipart/mixed; boundary="------------070505040605040605050902" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.131.249.231 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2011 13:41:58 -0000 This is a multi-part message in MIME format. --------------070505040605040605050902 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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 --------------070505040605040605050902 Content-Type: text/x-patch; name="grub_bug_iconclass.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="grub_bug_iconclass.diff" === modified file 'grub-core/gfxmenu/icon_manager.c' --- grub-core/gfxmenu/icon_manager.c 2009-11-21 16:48:05 +0000 +++ grub-core/gfxmenu/icon_manager.c 2011-04-09 13:10:49 +0000 @@ -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; } --------------070505040605040605050902--