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:
authorPhilipp Hörist <philipp@hoerist.com>2022-10-09 20:43:56 +0300
committerPhilipp Hörist <philipp@hoerist.com>2022-10-09 20:44:14 +0300
commita1681cd01f923bd0aa20b26848621baa1d0f4047 (patch)
treee1978a21aa79fc525f22a3b0611db8d64ce3a99a
parent6d6774065f5f15cdc54b335b5f4e65fd8aa24424 (diff)
cfix: DateTimeLabel: Use set_text()
Otherwise it will parse markup
-rw-r--r--gajim/gtk/conversation/rows/widgets.py2
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)