Daniel Brötzmann pushed to branch mainwindow at gajim / gajim


Commits:
a6ce8b05 by wurstsalat at 2021-11-14T20:59:48+01:00
Account: Make Login setting accessible

Sensitive text is not clickable, which leads to confusion

- - - - -


2 changed files:

- gajim/gtk/accounts.py
- gajim/gtk/settings.py


Changes:

=====================================
gajim/gtk/accounts.py
=====================================
@@ -641,7 +641,10 @@ def __init__(self, account):
                     SettingType.ACCOUNT_CONFIG, 'account_color',
                     desc=_('Recognize your account by color')),
 
-            Setting(SettingKind.LOGIN, _('Login'), SettingType.DIALOG,
+            Setting(SettingKind.LOGIN,
+                    _('Login'),
+                    SettingType.DIALOG,
+                    desc=_('Change your account’s password, etc.'),
                     bind='account::anonymous_auth',
                     inverted=True,
                     props={'dialog': LoginDialog}),


=====================================
gajim/gtk/settings.py
=====================================
@@ -587,7 +587,6 @@ def on_row_activated(self):
 class LoginSetting(DialogSetting):
     def __init__(self, *args, **kwargs):
         DialogSetting.__init__(self, *args, **kwargs)
-        self.setting_value.set_selectable(True)
 
     def get_setting_value(self):
         jid = app.get_jid_from_account(self.account)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/a6ce8b05e2ab5b58a568b53d8aee5c4ce83bd1f2

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/a6ce8b05e2ab5b58a568b53d8aee5c4ce83bd1f2
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to