[Monodevelop-patches-list] r532 - trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sat Jan 17 21:04:55 EST 2004


Author: tberman
Date: 2004-01-17 21:04:55 -0500 (Sat, 17 Jan 2004)
New Revision: 532

Modified:
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs
Log:
remove works now, but we get a bt from inside MonoDevelop.Gui with pedro's tree wrapper, going to have to look at this later.


Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs	2004-01-18 01:44:49 UTC (rev 531)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs	2004-01-18 02:04:55 UTC (rev 532)
@@ -173,10 +173,15 @@
 			//foreach (ListViewItem item in referencesListView.SelectedItems) {
 			//	itemsToDelete.Add(item);
 			//}
-			//
+			
 			//foreach (ListViewItem item in itemsToDelete) {
 			//	referencesListView.Items.Remove(item);
 			//}
+			Gtk.TreeIter iter;
+			Gtk.TreeModel mdl;
+			if (ReferencesTreeView.Selection.GetSelected (out mdl, out iter)) {
+				refTreeStore.Remove (ref iter);
+			}
 		}
 
 #if false




More information about the Monodevelop-patches-list mailing list