Skip to content

Commit

Permalink
fix(notifications): Support markup in summary
Browse files Browse the repository at this point in the history
  • Loading branch information
pdf committed Apr 11, 2024
1 parent 26a53e7 commit ca60d54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/hyprpanel-client/notification_item.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ func (i *notificationItem) build(container *gtk.Box) error {
textContainer := gtk.NewBox(gtk.OrientationVerticalValue, 0)
i.AddRef(textContainer.Unref)

summary := gtk.NewLabel(i.data.Summary)
summary := gtk.NewLabel(``)
i.AddRef(summary.Unref)
summary.SetMarkup(i.data.Summary)
summary.SetSelectable(true)
summary.SetWrap(false)
summary.SetEllipsize(pango.EllipsizeEndValue)
Expand Down

0 comments on commit ca60d54

Please sign in to comment.