Setup tool and emoji-picker and utilities ported to Gtk4
Gtk4 is used by default if available on the system, if not Gtk3 is used as a fallback.
Except on these old systems Gtk3 is used by default even though Gtk4 is available:
- RHEL9 (has Gtk 4.12.3 but something is broken and emoji cannot be rendered correctly with Gtk4)
- Ubuntu 22.04 (ships with Gtk 4.6, this is too old, use Gtk3 instead)
To override the default one can use:
ITB_GTK_VERSION=3 python3 setup/main.py
or
ITB_GTK_VERSION=4 python3 setup/main.py
And the same for all other GUI programs like
ITB_GTK_VERSION=3 python3 engine/emoji_picker.py
Details
- find_hunspell_dictionary(language: str): Never fall back to en if language is not English
- emoji_picker.py: improve selecting a label while search is still running
- Fix minus sign on buttons in adding autosettings and keybindings
- Fixes for the Gtk3/Gtk4 port needed for RHEL9 and Ubuntu ≤ 22.04: Fall back to Gtk3 on these old systems
- setup/dictionary_download.py: Fix dictionary download for Ubuntu 24.04.3 LTS
- Port setup tool, emoji_picker, and everything else exept test_0_gtk.py to Gtk4. Gtk4 is used by default if available on the system, if not Gtk3 is used as a fallback. (Resolves: #848)
- Translation update from Weblate (cz 100%, hu 40.4%, it 99.5%, ka 100%, ko 100%, sv 100%)