Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
adc680fb by wurstsalat at 2021-05-24T12:49:45+02:00
Profile: Add Note entry
- - - - -
2 changed files:
- gajim/gtk/profile.py
- gajim/gtk/vcard_grid.py
Changes:
=====================================
gajim/gtk/profile.py
=====================================
@@ -38,6 +38,7 @@
'role': Q_('?profile:Role'),
'url': _('URL'),
'key': Q_('?profile:Public Encryption Key'),
+ 'note': Q_('?profile:Note'),
}
=====================================
gajim/gtk/vcard_grid.py
=====================================
@@ -79,6 +79,7 @@
'role': {'value': ''},
'url': {'value': ''},
'key': {'value': '', 'value_type': 'text'},
+ 'note': {'value': ''},
}
@@ -104,6 +105,7 @@
'role',
'url',
'key',
+ 'note',
]
@@ -117,7 +119,7 @@
TYPE_VALUES = {
- '-' : None,
+ '-': None,
'home': _('Home'),
'work': _('Work')
}
@@ -140,6 +142,7 @@ def __init__(self, account):
'org': TextEntryProperty,
'url': TextEntryProperty,
'key': KeyProperty,
+ 'note': TextEntryProperty,
}
self.set_column_spacing(12)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/adc680fb1a46384ffe953109c50fdcee09c20ef2
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/adc680fb1a46384ffe953109c50fdcee09c20ef2
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits