Fix names and descriptions not rendering properly

This commit is contained in:
heliguy
2025-02-17 18:02:51 -05:00
parent 52357124b1
commit 2246b34350

View File

@@ -31,8 +31,8 @@ class AppRow(Adw.ActionRow):
self.long_press_gesture = Gtk.GestureLongPress()
# Apply
GLib.idle_add(lambda *_: self.set_title(package.info["name"]))
GLib.idle_add(lambda *_: self.set_subtitle(package.info["id"]))
GLib.idle_add(lambda *_: self.set_title(GLib.markup_escape_text(package.info["name"])))
GLib.idle_add(lambda *_: self.set_subtitle(GLib.markup_escape_text(package.info["id"])))
GLib.idle_add(lambda *_: self.idle_stuff())
self.add_controller(self.rclick_gesture)
self.add_controller(self.long_press_gesture)