From 8f93dde1204f4f0c160b8c13f6761dd0d9de82ae Mon Sep 17 00:00:00 2001 From: sunglocto Date: Fri, 10 Jul 2026 09:52:18 +0100 Subject: [PATCH] status msg in userbox --- gtk-helpers.go | 5 +++++ style.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gtk-helpers.go b/gtk-helpers.go index 2464129..c11034f 100644 --- a/gtk-helpers.go +++ b/gtk-helpers.go @@ -395,6 +395,11 @@ func switchToTab(jid string, w *gtk.Window) { nick.AddCSSClass("author") nick.SetSelectable(true) profile_box.Append(nick) + if u.Status != "" { + status_message := gtk.NewLabel(u.Status) + status_message.AddCSSClass("status") + profile_box.Append(status_message) + } profile_box.Append(ver_text) fr := gtk.NewLabel(u.From) fr.AddCSSClass("jid") diff --git a/style.css b/style.css index 9e7dbe8..9392c1d 100644 --- a/style.css +++ b/style.css @@ -80,3 +80,8 @@ border-radius: 5px; padding: 5px; } + +.status { + color: cyan; + font-family: serif; +}