[banshee] [Hyena.Gui] Fix bug with removing SimpleTable rows



commit 631420da11f2a63b4bb0a2ec309b8e9fd70f8721
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Mon Dec 14 20:06:19 2009 -0800

    [Hyena.Gui] Fix bug with removing SimpleTable rows

 .../Hyena.Gui/Hyena.Widgets/SimpleTable.cs         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Libraries/Hyena.Gui/Hyena.Widgets/SimpleTable.cs b/src/Libraries/Hyena.Gui/Hyena.Widgets/SimpleTable.cs
index 757368e..15417c7 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Widgets/SimpleTable.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Widgets/SimpleTable.cs
@@ -89,7 +89,7 @@ namespace Hyena.Widgets
                 for (uint x = 0; x < NColumns; x++) {
                     var widget = item_widgets[items[y]][x];
                     Remove (widget);
-                    Attach (widget, x, ++x, (uint) y - 1, (uint) y);
+                    Attach (widget, x, x + 1, (uint) y - 1, (uint) y);
                 }
             }
 



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