[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
The submenu command shows a text-based menu when using a GFX theme.
From: |
Towheed Mohammed |
Subject: |
The submenu command shows a text-based menu when using a GFX theme. |
Date: |
Wed, 22 Feb 2012 17:50:29 -0800 (PST) |
If a gfx theme is being used and the submenu command is used to show a submenu,
the submenu does not use the gfx theme. Instead a text-based menu is shown.
The only way a regular user can workaround this at the moment is to reload the
theme after the submenu menuentry item is selected.
In Ubuntu's (about the only distro that uses the submenu command at this time)
use of the submenu in 10_linux:
if [ "$list" ] && ! $in_submenu; then
in_submenu=:
fi
A regular user must patch 10_linux thus:
if [ "$list" ] && ! $in_submenu; then
echo "submenu \"Previous Linux versions\" --class submenu {"
if [ "x$GRUB_THEME" != x ] && [ -f "$GRUB_THEME" ] \
&& is_path_readable_by_grub "$GRUB_THEME"; then
prepare_grub_to_access_device `${grub_probe} --target=device
"$GRUB_THEME"`
cat << EOF
set theme=(\$root)`make_system_path_relative_to_its_root $GRUB_THEME`
EOF
fi
in_submenu=:
fi
to reload the theme and have a themed submenu.
Will this be fixed in the 2.00 release?
- The submenu command shows a text-based menu when using a GFX theme.,
Towheed Mohammed <=
- Re: The submenu command shows a text-based menu when using a GFX theme., Vladimir 'φ-coder/phcoder' Serbinenko, 2012/02/23
- Re: The submenu command shows a text-based menu when using a GFX theme., Towheed Mohammed, 2012/02/23
- Re: The submenu command shows a text-based menu when using a GFX theme., Vladimir 'φ-coder/phcoder' Serbinenko, 2012/02/24
- Re: The submenu command shows a text-based menu when using a GFX theme., Towheed Mohammed, 2012/02/24
- Re: The submenu command shows a text-based menu when using a GFX theme., Vladimir 'φ-coder/phcoder' Serbinenko, 2012/02/24
- Re: The submenu command shows a text-based menu when using a GFX theme., Towheed Mohammed, 2012/02/25
- Re: The submenu command shows a text-based menu when using a GFX theme., Vladimir 'φ-coder/phcoder' Serbinenko, 2012/02/26
- Re: The submenu command shows a text-based menu when using a GFX theme., Towheed Mohammed, 2012/02/26
- Re: The submenu command shows a text-based menu when using a GFX theme., Bruce Dubbs, 2012/02/26
- Re: The submenu command shows a text-based menu when using a GFX theme., Vladimir 'φ-coder/phcoder' Serbinenko, 2012/02/26