banshee r5147 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView



Author: gburt
Date: Fri Mar 20 05:23:57 2009
New Revision: 5147
URL: http://svn.gnome.org/viewvc/banshee?rev=5147&view=rev

Log:
2009-03-20  Gabriel Burt  <gabriel burt gmail com>

	* src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs:
	Patch from Alexander Kojevnikov fixing mouse interactions with ListView's
	cells (such as the rating) when hscroll position is non-zero (BGO #538535)

Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs

Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs	(original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs	Fri Mar 20 05:23:57 2009
@@ -282,7 +282,7 @@
 
             // Turn the view-absolute coordinates into cell-relative coordinates
             CachedColumn cached_column = GetCachedColumnForColumn (column);
-            x -= cached_column.X1;
+            x -= cached_column.X1 - HadjustmentValue;
             int page_offset = VadjustmentValue % RowHeight;
             y = (y + page_offset) % RowHeight;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]