Commit aa9abcda authored by Andrés G. Aragoneses's avatar Andrés G. Aragoneses

Revert "ThickClient: workaround for invisible (instead of bold) text (bgo#732838)"

This reverts commit f3f9c330
because it was just a workaround, and we have found the proper
fix.
parent 69281781
......@@ -28,6 +28,7 @@
//
using System;
using System.Collections.Generic;
using Mono.Unix;
using Gtk;
......@@ -37,6 +38,7 @@ using Hyena;
using Hyena.Gui;
using Hyena.Gui.Theatrics;
using Banshee.Base;
using Banshee.Collection;
using Banshee.Collection.Gui;
using Banshee.ServiceStack;
......@@ -503,7 +505,7 @@ namespace Banshee.Gui.Widgets
protected virtual string GetFirstLineText (TrackInfo track)
{
return WrapWithDefaultTextColor (String.Format ("<b>{0}</b>", GLib.Markup.EscapeText (track.DisplayTrackTitle)));
return String.Format ("<b>{0}</b>", GLib.Markup.EscapeText (track.DisplayTrackTitle));
}
protected virtual string GetSecondLineText (TrackInfo track)
......@@ -540,11 +542,6 @@ namespace Banshee.Gui.Widgets
markup = GetByFrom (track.ArtistName, track.DisplayArtistName, track.AlbumTitle, track.DisplayAlbumTitle, true);
}
return WrapWithDefaultTextColor (markup);
}
private string WrapWithDefaultTextColor (string markup)
{
return String.Format ("<span color=\"{0}\">{1}</span>",
CairoExtensions.ColorGetHex (TextColor, false),
markup);
......@@ -566,6 +563,7 @@ namespace Banshee.Gui.Widgets
private string GetByFrom (string artist, string display_artist, string album, string display_album, bool unknown_ok)
{
bool has_artist = !String.IsNullOrEmpty (artist);
bool has_album = !String.IsNullOrEmpty (album);
......
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