Skip to content

Jeremypw/format bar/use language action - #1796

Draft
jeremypw wants to merge 16 commits into
masterfrom
jeremypw/FormatBar/use-language-action
Draft

Jeremypw/format bar/use language action#1796
jeremypw wants to merge 16 commits into
masterfrom
jeremypw/FormatBar/use-language-action

Conversation

@jeremypw

@jeremypw jeremypw commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Attempt to finish #1775 after merging master and fixing conflicts

For some reason that is not clear to me, the list row widget only behaved (nearly) as expected if a CheckButton is used instead of an ungrouped RadioButton in that the state reflects whether the target matches the current language id on startup. With ungrouped RadioButtons they are all on.

There is currently a flaw in that clicking on a selected checkbutton deactivates it but does not change the current language. We may have to revert to grouped RadioButtons?

A number of other small fixes and cleanups are made which could be merged even if this is abandoned.

@jeremypw

Copy link
Copy Markdown
Collaborator Author

@danirabbit I spent quite a while trying to get this to work and this is the best I can do. Grouped radiobuttons emit a spurious state changed signal on the deselected item it seems and it is hard to avoid endless loops. Hopefully it will work better in Gtk4.

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