banshee r4918 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Collection.Gui
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4918 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Collection.Gui
- Date: Sat, 17 Jan 2009 20:13:46 +0000 (UTC)
Author: gburt
Date: Sat Jan 17 20:13:46 2009
New Revision: 4918
URL: http://svn.gnome.org/viewvc/banshee?rev=4918&view=rev
Log:
2009-01-17 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellTrackNumber.cs:
Patch from Christoph Burgdorf to right align this (BGO #553322)
* src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPositiveInt.cs:
Apply the same fix for all int-based columns (bpm, play/skip count, etc)
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPositiveInt.cs
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellTrackNumber.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPositiveInt.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPositiveInt.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPositiveInt.cs Sat Jan 17 20:13:46 2009
@@ -37,6 +37,7 @@
public ColumnCellPositiveInt (string property, bool expand, int min_digits, int max_digits) : base (property, expand)
{
SetMinMaxStrings ((int)Math.Pow (10, min_digits) - 1, (int)Math.Pow (10, max_digits) - 1);
+ Alignment = Pango.Alignment.Right;
}
protected override string GetText (object obj)
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellTrackNumber.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellTrackNumber.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellTrackNumber.cs Sat Jan 17 20:13:46 2009
@@ -37,6 +37,7 @@
public ColumnCellTrackNumber (string property, bool expand) : base (property, expand)
{
SetMinMaxStrings (99, 999);
+ Alignment = Pango.Alignment.Right;
}
protected override string GetText (object obj)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]