Skip to content

Fix Plymouth theme preset focus and add missing strings to base.pot#4586

Open
Softer wants to merge 1 commit into
archlinux:masterfrom
Softer:fix-plymouth-preset-selection
Open

Fix Plymouth theme preset focus and add missing strings to base.pot#4586
Softer wants to merge 1 commit into
archlinux:masterfrom
Softer:fix-plymouth-preset-selection

Conversation

@Softer

@Softer Softer commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Two small follow-ups to #4555:

  • select_plymouth_theme() passed preset.value (a string) to set_selected_by_value(), while the menu items hold PlymouthTheme enum values - so the previously selected theme was never highlighted when reopening the menu. Switched to set_focus_by_value(preset), matching select_bootloader() and the other single-select menus.
  • Regenerated base.pot to pick up the three Plymouth strings ("Plymouth", "Select Plymouth theme", "Plymouth "{}"").

select_plymouth_theme() compared enum item values against a raw string,
so the previously selected theme was never highlighted when reopening
the menu. Use set_focus_by_value() like other single-select menus.

Regenerate base.pot to pick up the three Plymouth strings introduced
in archlinux#4555.
@Softer Softer requested a review from Torxed as a code owner June 10, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants