Philipp Hörist pushed to branch modal at gajim / gajim
Commits:
17e79a3d by Philipp Hörist at 2026-07-24T22:13:41+02:00
cfix: Make copy toast shorter
- - - - -
88fcb2e6 by Philipp Hörist at 2026-07-24T22:14:07+02:00
imprv: Add more description
- - - - -
3 changed files:
- gajim/data/gui/openpgp/secret_share.ui
- gajim/data/gui/openpgp/unlock.ui
- gajim/gtk/openpgp_secret.py
Changes:
=====================================
gajim/data/gui/openpgp/secret_share.ui
=====================================
@@ -10,13 +10,21 @@
<property name="valign">center</property>
<property name="orientation">vertical</property>
<property name="spacing">18</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="label">Backup Password</property>
+ <property name="justify">center</property>
+ <property name="hexpand">true</property>
+ <style>
+ <class name="dimmed" />
+ </style>
+ </object>
+ </child>
<child>
<object class="GtkBox">
<property name="spacing">12</property>
<child>
<object class="GtkLabel" id="_key_label">
- <property name="max-width-chars">38</property>
- <property name="wrap">1</property>
<property name="justify">center</property>
<property name="hexpand">true</property>
<style>
=====================================
gajim/data/gui/openpgp/unlock.ui
=====================================
@@ -11,7 +11,7 @@
<property name="height-request">150</property>
<child>
<object class="GtkLabel">
- <property name="label" translatable="yes">Enter your account
password to unlock the secret key</property>
+ <property name="label" translatable="yes">Enter your account
password to unlock the secret key and backup password. Don't show the backup
password or the QR Code on the following page to anyone. Sharing either one
will compromise the security of your encrypted chats.</property>
<property name="max-width-chars">38</property>
<property name="wrap">1</property>
<property name="justify">center</property>
=====================================
gajim/gtk/openpgp_secret.py
=====================================
@@ -179,7 +179,9 @@ def generate(self) -> None:
def _on_copy_clicked(self, _button: CopyButton) -> None:
app.window.get_clipboard().set(self._key_label.get_text())
- self._toast_overlay.add_toast(Adw.Toast.new(_("Key copied to
clipboard")))
+ self._toast_overlay.add_toast(
+ Adw.Toast(title=_("Backup password copied"), timeout=1)
+ )
def _on_path_picked(self, button: Gtk.Button, paths: list[Path]) -> None:
exported_key = self._client.get_module("OpenPGP").export_secret_key()
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/compare/af6693b6e439bcc5620d44bbd55d26010e5be3d3...88fcb2e6d4a716ea65d88d26faad5ec8ad858be1
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/compare/af6693b6e439bcc5620d44bbd55d26010e5be3d3...88fcb2e6d4a716ea65d88d26faad5ec8ad858be1
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]