Commit ba04b55d authored by Cédric Bellegarde's avatar Cédric Bellegarde

Workaround a GTK issue with tooltips

parent ef0c12d6
Pipeline #114155 passed with stage
in 12 minutes and 1 second
......@@ -365,7 +365,9 @@ class AlbumRow(Gtk.ListBoxRow):
if layout_title.is_ellipsized() or layout_artist.is_ellipsized():
artist = GLib.markup_escape_text(self.__artist_label.get_text())
title = GLib.markup_escape_text(self.__title_label.get_text())
self.set_tooltip_markup("<b>%s</b>\n%s" % (artist, title))
# Workaround a recent issue in GTK+ 3.24.11
# self.set_tooltip_markup("<b>%s</b>\n%s" % (artist, title))
self.set_tooltip_markup("<b>%s</b> - %s" % (artist, title))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment