[Monodevelop-patches-list] r2316 - in trunk/MonoDevelop/Core/src/MonoDevelop.Base: . Gui
Todd Berman <tberman@sevenl.net>
tberman at mono-cvs.ximian.com
Tue Mar 8 14:59:41 EST 2005
Author: tberman
Date: 2005-03-08 14:59:41 -0500 (Tue, 08 Mar 2005)
New Revision: 2316
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/AbstractViewContent.cs
Log:
2005-03-08 Todd Berman <tberman at off.net>
* Gui/AbstractViewContent.cs: only emit an event when the name
actually changes.
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-03-08 02:39:20 UTC (rev 2315)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-03-08 19:59:41 UTC (rev 2316)
@@ -1,3 +1,8 @@
+2005-03-08 Todd Berman <tberman at off.net>
+
+ * Gui/AbstractViewContent.cs: only emit an event when the name
+ actually changes.
+
2005-03-07 Lluis Sanchez Gual <lluis at novell.com>
* Commands/MenuItemBuilders.cs: Added null check.
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/AbstractViewContent.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/AbstractViewContent.cs 2005-03-08 02:39:20 UTC (rev 2315)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/AbstractViewContent.cs 2005-03-08 19:59:41 UTC (rev 2316)
@@ -41,8 +41,10 @@
return contentName;
}
set {
- contentName = value;
- OnContentNameChanged(EventArgs.Empty);
+ if (contentName != value) {
+ contentName = value;
+ OnContentNameChanged(EventArgs.Empty);
+ }
}
}
More information about the Monodevelop-patches-list
mailing list