Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
210
Issues
210
List
Boards
Labels
Service Desk
Milestones
Merge Requests
22
Merge Requests
22
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim
Commits
a4fba1f4
Unverified
Commit
a4fba1f4
authored
Feb 13, 2021
by
Michel Le Bihan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change dataform to href markup URLs in fixed field
Closes
#10445
parent
dbda5c5c
Pipeline
#7306
passed with stages
in 8 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
gajim/gtk/dataform.py
gajim/gtk/dataform.py
+2
-1
No files found.
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