summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e664095db..67cb3b5d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-03-20 Gabriel Burt <gabriel.burt@gmail.com>
+ * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Patch
+ from Alexander Kojevnikov fixing focus loss when renaming non-active
+ source (BGO #527508)
+
+2009-03-20 Gabriel Burt <gabriel.burt@gmail.com>
+
* src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs:
Patch from Alexander Kojevnikov fixing a dragged column rendering glitch
when hscroll position is non-zero (BGO #536853)
diff --git a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
index 8228ea686..66961a485 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
@@ -231,7 +231,7 @@ namespace Banshee.Sources.Gui
// errors about corrupting the TreeView's internal state.
foreach (Source dsource in ServiceManager.SourceManager.Sources) {
TreeIter iter = store.FindSource (dsource);
- if (!TreeIter.Zero.Equals (iter)) {
+ if (!TreeIter.Zero.Equals (iter) && (int)store.GetValue (iter, 1) != dsource.Order) {
store.SetValue (iter, 1, dsource.Order);
}
}