banshee r5149 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Sources.Gui
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r5149 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Sources.Gui
- Date: Fri, 20 Mar 2009 05:32:29 +0000 (UTC)
Author: gburt
Date: Fri Mar 20 05:32:29 2009
New Revision: 5149
URL: http://svn.gnome.org/viewvc/banshee?rev=5149&view=rev
Log:
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)
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs Fri Mar 20 05:32:29 2009
@@ -231,7 +231,7 @@
// 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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]