Daniel Brötzmann pushed to branch adw-application at gajim / gajim
Commits:
1edd80b1 by wurstsalat at 2025-04-21T23:00:18+02:00
cfix: Settings menu: Add more horizontal padding
- - - - -
33cc5044 by wurstsalat at 2025-04-21T23:00:41+02:00
cfix: OMEMO trust manager: Fix 'Show inactive' switch
- - - - -
2 changed files:
- gajim/data/style/gajim.css
- gajim/gtk/omemo_trust_manager.py
Changes:
=====================================
gajim/data/style/gajim.css
=====================================
@@ -970,7 +970,7 @@ .PopoverButtonListbox > list > row.activatable:active {
box-shadow: none; backgr
/* Settings Window */
list.settings-menu row {
- padding: 6px;
+ padding: 6px 12px;
min-width: 170px;
}
list.settings-menu row label {
=====================================
gajim/gtk/omemo_trust_manager.py
=====================================
@@ -66,7 +66,7 @@ def __init__(self, account: str, contact: types.ChatContactT
| None = None) -> N
self._ui.manage_trust_button, "clicked",
self._on_manage_trust_clicked
)
self._connect(
- self._ui.show_inactive_switch, "notify::active",
self._on_show_inactive
+ self._ui.show_inactive_switch, "state-set", self._on_show_inactive
)
self._connect(
self._ui.clear_devices_button, "clicked",
self._on_clear_devices_clicked
@@ -205,7 +205,7 @@ def _load_qrcode(self) -> None:
log.debug("Trust URI: %s", uri)
self._ui.qr_code_image.set_from_paintable(generate_qr_code(uri))
- def _on_show_inactive(self, switch: Gtk.Switch, _param: Any) -> None:
+ def _on_show_inactive(self, _switch: Gtk.Switch, _state: bool) -> None:
self._ui.list.invalidate_filter()
def _on_clear_devices_clicked(self, _button: Gtk.Button) -> None:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/compare/8b5584a680049cca80a1fae6f228b661c921166c...33cc50442b11e946215f695031243d5f887d0038
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/compare/8b5584a680049cca80a1fae6f228b661c921166c...33cc50442b11e946215f695031243d5f887d0038
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]