diff options
author | Philipp Hörist <philipp@hoerist.com> | 2022-10-09 20:43:56 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2022-10-09 20:44:14 +0300 |
commit | a1681cd01f923bd0aa20b26848621baa1d0f4047 (patch) | |
tree | e1978a21aa79fc525f22a3b0611db8d64ce3a99a | |
parent | 6d6774065f5f15cdc54b335b5f4e65fd8aa24424 (diff) |
cfix: DateTimeLabel: Use set_text()
Otherwise it will parse markup
-rw-r--r-- | gajim/gtk/conversation/rows/widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gajim/gtk/conversation/rows/widgets.py b/gajim/gtk/conversation/rows/widgets.py index 6b30a5cf9..d9f27c67a 100644 --- a/gajim/gtk/conversation/rows/widgets.py +++ b/gajim/gtk/conversation/rows/widgets.py @@ -171,7 +171,7 @@ class DateTimeLabel(Gtk.Label): time_format = f'{time_format} - {date_format}' timestamp_formatted = timestamp.strftime(time_format) - self.set_label(timestamp_formatted) + self.set_text(timestamp_formatted) self.set_halign(Gtk.Align.START) self.set_valign(Gtk.Align.END) self.set_margin_start(6) |