[longomatch] Fix text escaping in the cell renderer
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix text escaping in the cell renderer
- Date: Wed, 5 Nov 2014 19:01:36 +0000 (UTC)
commit a6e546105f693928ede89bfee20797067974abc6
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Oct 30 17:09:17 2014 +0100
Fix text escaping in the cell renderer
LongoMatch.Drawing/PlayslistCellRenderer.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.Drawing/PlayslistCellRenderer.cs b/LongoMatch.Drawing/PlayslistCellRenderer.cs
index 6bac6df..edb8034 100644
--- a/LongoMatch.Drawing/PlayslistCellRenderer.cs
+++ b/LongoMatch.Drawing/PlayslistCellRenderer.cs
@@ -60,7 +60,7 @@ namespace LongoMatch.Drawing
tk.StrokeColor = Config.Style.PaletteBackgroundDark;
tk.FontAlignment = FontAlignment.Center;
tk.DrawText (new Point (countX1, countY), StyleConf.ListCountWidth,
- 2 * StyleConf.ListCountRadio, count.ToString (), true);
+ 2 * StyleConf.ListCountRadio, count.ToString ());
}
static void RenderBackgroundAndText (bool isExpanded, IDrawingToolkit tk, Area
backgroundArea, Point textP, double textW, string text)
@@ -85,7 +85,7 @@ namespace LongoMatch.Drawing
tk.FontSize = 14;
tk.FontWeight = FontWeight.Bold;
tk.FontAlignment = FontAlignment.Left;
- tk.DrawText (textP, textW, backgroundArea.Height, text, false);
+ tk.DrawText (textP, textW, backgroundArea.Height, text);
}
public static void RenderPlayer (Player player, int count, bool isExpanded, IDrawingToolkit
tk,
@@ -174,7 +174,7 @@ namespace LongoMatch.Drawing
tk.FontWeight = FontWeight.Normal;
tk.StrokeColor = Config.Style.PaletteSelected;
tk.FontAlignment = FontAlignment.Left;
- tk.DrawText (textPoint, textWidth, cellArea.Height, desc, true);
+ tk.DrawText (textPoint, textWidth, cellArea.Height, desc);
if (selected) {
if (EyeSurface == null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]