Daniel Brötzmann pushed to branch modal at gajim / gajim
Commits:
e1228313 by cal0pteryx at 2026-07-26T14:54:55+02:00
cfix: Improve OpenPGP unlock warning
- - - - -
1 changed file:
- gajim/data/gui/openpgp/unlock.ui
Changes:
=====================================
gajim/data/gui/openpgp/unlock.ui
=====================================
@@ -8,10 +8,9 @@
<property name="valign">center</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
- <property name="height-request">150</property>
<child>
<object class="GtkLabel">
- <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="label" translatable="yes">Enter your account
password to unlock the secret key and backup password.</property>
<property name="max-width-chars">38</property>
<property name="wrap">1</property>
<property name="justify">center</property>
@@ -21,25 +20,61 @@
</object>
</child>
<child>
- <object class="GtkPasswordEntry" id="_password_entry">
- <property name="show-peek-icon">true</property>
- <property name="activates-default">true</property>
+ <object class="GtkBox">
+ <property name="orientation">vertical</property>
+ <property name="spacing">12</property>
+ <property name="height-request">70</property>
+ <child>
+ <object class="GtkPasswordEntry" id="_password_entry">
+ <property name="show-peek-icon">true</property>
+ <property name="activates-default">true</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkBox" id="_warning_box">
+ <property name="visible">false</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkImage">
+ <property
name="icon-name">lucide-circle-alert-symbolic</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="_warning_label">
+ <property name="max-width-chars">38</property>
+ <property name="wrap">1</property>
+ <property name="justify">center</property>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</child>
<child>
- <object class="GtkBox" id="_warning_box">
- <property name="visible">false</property>
- <property name="spacing">6</property>
+ <object class="GtkBox">
+ <property name="valign">center</property>
+ <property name="spacing">12</property>
+ <style>
+ <class name="card" />
+ <class name="px-12" />
+ <class name="py-6" />
+ </style>
<child>
<object class="GtkImage">
<property
name="icon-name">lucide-circle-alert-symbolic</property>
+ <style>
+ <class name="warning" />
+ </style>
</object>
</child>
<child>
- <object class="GtkLabel" id="_warning_label">
- <property name="max-width-chars">38</property>
+ <object class="GtkLabel">
+ <property name="label" translatable="yes">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">28</property>
<property name="wrap">1</property>
- <property name="justify">center</property>
+ <style>
+ <class name="dimmed" />
+ </style>
</object>
</child>
</object>
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/e1228313e5d3e4849ee01d4fef850cd6d1b4db6e
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/e1228313e5d3e4849ee01d4fef850cd6d1b4db6e
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]