Daniel Brötzmann pushed to branch openpgp at gajim / gajim
Commits:
5f7fb963 by cal0pteryx at 2026-04-30T11:30:18+02:00
cfix: Improve OpenPGP assistant strings; fix starting assistant from chat
- - - - -
3 changed files:
- gajim/data/gui/openpgp/password.ui
- gajim/data/gui/openpgp/welcome.ui
- gajim/gtk/chat_stack.py
Changes:
=====================================
gajim/data/gui/openpgp/password.ui
=====================================
@@ -10,7 +10,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkLabel">
- <property name="label" translatable="yes">Please enter the
password you set when you created a backup of your OpenPGP key.</property>
+ <property name="label" translatable="yes">Please enter the
password for your OpenPGP key backup.</property>
<property name="max-width-chars">38</property>
<property name="wrap">1</property>
<property name="justify">center</property>
=====================================
gajim/data/gui/openpgp/welcome.ui
=====================================
@@ -10,7 +10,7 @@
<property name="spacing">18</property>
<child>
<object class="GtkLabel">
- <property name="label" translatable="yes">To set up OpenPGP
encryption you can either import an existing key, restore a backup, or let
Gajim create a new key.</property>
+ <property name="label" translatable="yes">To set up OpenPGP
encryption you can either import an existing key or let Gajim create a new
key.</property>
<property name="max-width-chars">38</property>
<property name="wrap">1</property>
<property name="justify">center</property>
@@ -33,16 +33,8 @@
</object>
</child>
<child>
- <object class="GtkBox">
- <property name="spacing">12</property>
- <style>
- <class name="mb-18" />
- </style>
- <child>
- <object class="GtkButton" id="_import_button">
- <property name="label" translatable="yes">Import
Key</property>
- </object>
- </child>
+ <object class="GtkButton" id="_import_button">
+ <property name="label" translatable="yes">Import Key</property>
</object>
</child>
<child>
@@ -50,6 +42,7 @@
<property name="label" translatable="yes">Create New OpenPGP
Key</property>
<style>
<class name="bold" />
+ <class name="mt-18" />
</style>
</object>
</child>
=====================================
gajim/gtk/chat_stack.py
=====================================
@@ -879,7 +879,7 @@ def check_send_preconditons(self) -> bool:
if encryption == "OpenPGP":
if not client.get_module("OpenPGP").secret_key_exists():
- open_window("OpenPGPWizard", account=contact.account)
+ open_window("OpenPGPWizard", account=contact.account,
mode="setup")
return False
return
client.get_module("OpenPGP").check_send_preconditions(contact)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/5f7fb963e7d4deb3b758bf6255e000b0caae09df
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/5f7fb963e7d4deb3b758bf6255e000b0caae09df
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]