[banshee] [ListView] Fix freeze in RecalculateColumnSize (BGO#597337)
- From: Bertrand Lorentz <blorentz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [ListView] Fix freeze in RecalculateColumnSize (BGO#597337)
- Date: Tue, 6 Oct 2009 10:46:58 +0000 (UTC)
commit e48319367aea630831fa9bfdc4b5beb1de8b1799
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Tue Oct 6 12:43:43 2009 +0200
[ListView] Fix freeze in RecalculateColumnSize (BGO#597337)
.../Hyena.Data.Gui/ListView/ListView_Header.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs
index ef150bd..707a6e7 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs
@@ -191,7 +191,7 @@ namespace Hyena.Data.Gui
double remaining_width = RecalculateColumnSizes (header_width, header_width);
- while (remaining_width != 0 && elastic_columns.Count > 0) {
+ while (remaining_width > 0 && elastic_columns.Count > 0) {
double total_elastic_width = 0.0;
foreach (int i in elastic_columns) {
total_elastic_width += column_cache[i].ElasticWidth;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]