Received: from list by lists.gnu.org with archive (Exim 4.71) id 1S0NpL-0000t2-EK for mharc-grub-devel@gnu.org; Wed, 22 Feb 2012 20:50:35 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0NpI-0000sV-GP for grub-devel@gnu.org; Wed, 22 Feb 2012 20:50:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0NpH-0000Zy-4v for grub-devel@gnu.org; Wed, 22 Feb 2012 20:50:32 -0500 Received: from nm23-vm0.bullet.mail.sp2.yahoo.com ([98.139.91.224]:48384) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S0NpG-0000Zu-Oy for grub-devel@gnu.org; Wed, 22 Feb 2012 20:50:31 -0500 Received: from [98.139.91.62] by nm23.bullet.mail.sp2.yahoo.com with NNFMP; 23 Feb 2012 01:50:29 -0000 Received: from [98.139.91.25] by tm2.bullet.mail.sp2.yahoo.com with NNFMP; 23 Feb 2012 01:50:29 -0000 Received: from [127.0.0.1] by omp1025.mail.sp2.yahoo.com with NNFMP; 23 Feb 2012 01:50:29 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 694617.30687.bm@omp1025.mail.sp2.yahoo.com Received: (qmail 9586 invoked by uid 60001); 23 Feb 2012 01:50:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1329961829; bh=1nLsOH6NSTDp3KE3M13pV9E8gpsH1srxkerOXIL45yI=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=z+5pSoGFWSKI6gao4SI1KncAoBaswFRdNReoJbNDNWj9iFtrStP3tRkTnU+OfzLZCSeoPCC+1vBDpYB39xeUxlXkBTwkgeO4JkK2AmZM1bGr+VJ7Pgx0I11TaIcpU7vs5JlNeyHqig3jS46UsOFhlaUdaFXxXoKCmSTWuSOOvLk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IKFYaxBPqRBWNTSBPGEyIiYwNLVoEadlubAusKKPAe7pOVk8wyqGFcZmUAFFaMJLeXbElAb7AwQX8LqfWekFzgavpmx3NTq/kppjsCz+0ETmPPv8GwVDmGk/YzouhZcmsRAjdoIjeOXFaatVWic8K0JDtLlZxmzFE/lA7aEEr68=; X-YMail-OSG: E8OVFdYVM1kgPwF5mtf2ytwcfQy_R3mmF5bq.SDQqLOj19t kM64VEO5TAb9Nj9iV1NYMkWnJs1tTzoHoqI.56BFs1DxdITlns1kUXmd0eCF TX_wQoXsCecsWKnHyDuKcWUNvSSwt4vvwh5OPk9PhkKUdvsZkRN.tbOpN4C0 HROkHtuv3fXA5F8O7YTgwrLbdgPsA8ZY0KXbOiluPuMltBMux6A2actZs_Lh 7Aur_tI32COgE0vHcJ3HQ8WJfAibVRZWA89GPT25T01ONEqZ1cGPTsNegUZF YViie__cr3T1G_KIs4BV_Hhghu2GN3MaG5bYyDLRLpC_isDEkWYHIVMlK1y7 TZBLmvCYGibW2Wpe4jDmhU5_mTmZYjE1y.7GrYU175AJ9lpaIbq1jSSD97FB 2ovxF08ALtkCx8EVmUv77MyJ3s3iL4VymZ8wXduiICXI7j1mRLkgrAMH_U6Y VwOVd Received: from [190.213.201.176] by web113502.mail.gq1.yahoo.com via HTTP; Wed, 22 Feb 2012 17:50:29 PST X-Mailer: YahooMailWebService/0.8.116.338427 Message-ID: <1329961829.75149.YahooMailNeo@web113502.mail.gq1.yahoo.com> Date: Wed, 22 Feb 2012 17:50:29 -0800 (PST) From: Towheed Mohammed Subject: The submenu command shows a text-based menu when using a GFX theme. To: "grub-devel@gnu.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.91.224 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: Thu, 23 Feb 2012 01:50:33 -0000 If a gfx theme is being used and the submenu command is used to show a subm= enu, the submenu does not use the gfx theme.=A0 Instead a text-based menu i= s shown.=A0 The only way a regular user can workaround this at the moment i= s to reload the theme after the submenu menuentry item is selected.=0A=0AIn= Ubuntu's (about the only distro that uses the submenu command at this time= ) use of the submenu in 10_linux:=0A=0A=A0 if [ "$list" ] && ! $in_submenu;= then=0A=A0=A0=A0 in_submenu=3D:=0A=A0 fi=0A=0AA regular user must patch 10= _linux thus:=0A=0A=A0 if [ "$list" ] && ! $in_submenu; then=0A=A0=A0=A0 ech= o "submenu \"Previous Linux versions\" --class submenu {"=0A=A0=A0=A0 =A0= =A0=A0 if [ "x$GRUB_THEME" !=3D x ] && [ -f "$GRUB_THEME" ] \=0A=A0=A0=A0 = =A0=A0=A0 =A0=A0=A0 && is_path_readable_by_grub "$GRUB_THEME"; then=0A=A0= =A0=A0 =A0=A0=A0 =A0=A0=A0 prepare_grub_to_access_device `${grub_probe} --t= arget=3Ddevice "$GRUB_THEME"`=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 cat << EOF=0A= set theme=3D(\$root)`make_system_path_relative_to_its_root $GRUB_THEME`=0AE= OF=0A=A0=A0=A0 =A0=A0=A0 fi=0A=A0=A0=A0 in_submenu=3D:=0A=A0 fi=0A=0Ato rel= oad the theme and have a themed submenu.=0A=0AWill this be fixed in the 2.0= 0 release?=0A