Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pg mr
gajim
Commits
a4fba1f4
Unverified
Commit
a4fba1f4
authored
Feb 13, 2021
by
Michel Le Bihan
Browse files
Change dataform to href markup URLs in fixed field
Closes
#10445
parent
dbda5c5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
gajim/gtk/dataform.py
View file @
a4fba1f4
...
...
@@ -27,6 +27,7 @@
from
.util
import
MultiLineLabel
from
.util
import
MaxWidthComboBoxText
from
.util
import
make_href_markup
# Options
...
...
@@ -329,7 +330,7 @@ class FixedField(Field):
def
__init__
(
self
,
field
,
form_grid
,
options
):
Field
.
__init__
(
self
,
field
,
form_grid
,
options
)
self
.
_label
.
set_
text
(
field
.
value
)
self
.
_label
.
set_
markup
(
make_href_markup
(
field
.
value
)
)
# If the value is more than 40 chars it proabably isn’t
# meant as a section header
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment