Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormimi89999 <michel@lebihan.pl>2021-02-13 15:36:48 +0300
committerlovetox <philipp@hoerist.com>2021-02-27 14:53:26 +0300
commite6d830177c59891eed733b96e6fef9296bf82b90 (patch)
treeb53f284465be00cd6fca153fa7916701365d1c3c
parent734650e33bfbaf6f820fd8fe4de3cfcaaf3d0591 (diff)
Change dataform to href markup URLs in instructions
-rw-r--r--gajim/gtk/dataform.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gajim/gtk/dataform.py b/gajim/gtk/dataform.py
index a561f6181..0aabca0d5 100644
--- a/gajim/gtk/dataform.py
+++ b/gajim/gtk/dataform.py
@@ -220,7 +220,8 @@ class Title:
class Instructions:
def __init__(self, instructions):
- self._label = Gtk.Label(label=instructions)
+ self._label = Gtk.Label()
+ self._label.set_markup(make_href_markup(instructions))
self._label.set_line_wrap(True)
self._label.set_line_wrap_mode(Pango.WrapMode.WORD)
self._label.set_justify(Gtk.Justification.CENTER)