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; +}