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



Author: gburt
Date: Wed May 21 22:44:16 2008
New Revision: 3947
URL: http://svn.gnome.org/viewvc/banshee?rev=3947&view=rev

Log:
2008-05-21  Scott Peterson  <lunchtimemama gmail com>

	* src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs:
	Fixed first column being unsortable.



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	Wed May 21 22:44:16 2008
@@ -458,7 +458,7 @@
         
         private bool OnHeaderButtonRelease (Gdk.EventButton evnt)
         {
-            if (pressed_column_index > 0 && pressed_column_index < column_cache.Length) {
+            if (pressed_column_index >= 0 && pressed_column_index < column_cache.Length) {
                 Column column = column_cache[pressed_column_index].Column;
                 if (column != null && Model is ISortable && column is ISortableColumn) {
                     ((ISortable)Model).Sort ((ISortableColumn)column);



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