[Monodevelop-patches-list] r2583 - trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/ReferenceDialog
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Thu Jun 2 19:27:38 EDT 2005
Author: jluke
Date: 2005-06-02 19:27:38 -0400 (Thu, 02 Jun 2005)
New Revision: 2583
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs
Log:
fix last commit
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs 2005-06-02 23:10:38 UTC (rev 2582)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs 2005-06-02 23:27:38 UTC (rev 2583)
@@ -137,16 +137,16 @@
public void AddReference(ReferenceType referenceType, string referenceName, string referenceLocation)
{
Gtk.TreeIter looping_iter;
- if (!refTreeStore.GetIterFirst (out looping_iter))
- return;
- do {
- try {
- if (referenceLocation == (string)refTreeStore.GetValue (looping_iter, 2) && referenceName == (string)refTreeStore.GetValue (looping_iter, 0)) {
- return;
+ if (refTreeStore.GetIterFirst (out looping_iter)) {
+ do {
+ try {
+ if (referenceLocation == (string)refTreeStore.GetValue (looping_iter, 2) && referenceName == (string)refTreeStore.GetValue (looping_iter, 0)) {
+ return;
+ }
+ } catch {
}
- } catch {
- }
- } while (refTreeStore.IterNext (ref looping_iter));
+ } while (refTreeStore.IterNext (ref looping_iter));
+ }
ProjectReference tag;
switch (referenceType) {
More information about the Monodevelop-patches-list
mailing list