[Monodevelop-patches-list] r1794 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/SourceEditor AddIns/DisplayBindings/SourceEditor/CodeCompletion Libraries/Gdl

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Jun 21 02:05:55 EDT 2004


Author: tberman
Date: 2004-06-21 02:05:55 -0400 (Mon, 21 Jun 2004)
New Revision: 1794

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
   trunk/MonoDevelop/src/Libraries/Gdl/DockItem.cs
   trunk/MonoDevelop/src/Libraries/Gdl/Gdl.prjx
   trunk/MonoDevelop/src/Libraries/Gdl/Makefile.Gdl
Log:
small changes


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog	2004-06-21 04:23:30 UTC (rev 1793)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog	2004-06-21 06:05:55 UTC (rev 1794)
@@ -1,3 +1,7 @@
+2004-06-21  Todd Berman  <tberman at off.net>
+
+	* CodeCompletion/CompletionWindow.cs: Small code cleanups.
+
 2004-06-11  Lluis Sanchez Gual  <lluis at ximian.com>
 
 	* CodeCompletion/CompletionWindow.cs: Make sure that EndAtomicUndo is called

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs	2004-06-21 04:23:30 UTC (rev 1793)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs	2004-06-21 06:05:55 UTC (rev 1794)
@@ -191,8 +191,7 @@
 
 			if (lastSelected != -1) {
 				listView.Selection.UnselectAll ();
-				TreePath path = new TreePath ("" + (lastSelected));
-				listView.Selection.SelectPath (path);
+				TreePath path = new TreePath (lastSelected.ToString ());
 				listView.SetCursor (path, complete_column, false);
 				listView.ScrollToCell (path, null, false, 0, 0);
 				if (magic && numOfHits == 1) {
@@ -340,8 +339,8 @@
 			control.buf.EndAtomicUndo ();
 			listView.FocusOutEvent -= LostFocusListView;
 			control.HasFocus = true;
-			declarationviewwindow.HideAll ();
-			this.Hide ();
+			declarationviewwindow.Destroy ();
+			this.Destroy ();
 		}
 		
 		void FillList (bool firstTime, char ch)

Modified: trunk/MonoDevelop/src/Libraries/Gdl/DockItem.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/Gdl/DockItem.cs	2004-06-21 04:23:30 UTC (rev 1793)
+++ trunk/MonoDevelop/src/Libraries/Gdl/DockItem.cs	2004-06-21 06:05:55 UTC (rev 1794)
@@ -58,7 +58,7 @@
 		{
 			Name = name;
 			LongName = longName;
-			Behavior = behavior;			
+			Behavior = behavior;
 		}
 		
 		public DockItem (string name, string longName, string stockid,

Modified: trunk/MonoDevelop/src/Libraries/Gdl/Gdl.prjx
===================================================================
--- trunk/MonoDevelop/src/Libraries/Gdl/Gdl.prjx	2004-06-21 04:23:30 UTC (rev 1793)
+++ trunk/MonoDevelop/src/Libraries/Gdl/Gdl.prjx	2004-06-21 06:05:55 UTC (rev 1794)
@@ -19,6 +19,8 @@
     <File name="./stock-close-12.png" subtype="Code" buildaction="Exclude" dependson="" data="" />
     <File name="./stock-menu-left-12.png" subtype="Code" buildaction="Exclude" dependson="" data="" />
     <File name="./stock-menu-right-12.png" subtype="Code" buildaction="Exclude" dependson="" data="" />
+    <File name="./DetachedHandler.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
+    <File name="./DockedHandler.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
   </Contents>
   <References>
     <Reference type="Gac" refto="gtk-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" localcopy="True" />

Modified: trunk/MonoDevelop/src/Libraries/Gdl/Makefile.Gdl
===================================================================
--- trunk/MonoDevelop/src/Libraries/Gdl/Makefile.Gdl	2004-06-21 04:23:30 UTC (rev 1793)
+++ trunk/MonoDevelop/src/Libraries/Gdl/Makefile.Gdl	2004-06-21 06:05:55 UTC (rev 1794)
@@ -17,8 +17,8 @@
 ./DockPlaceholder.cs \
 ./DockPaned.cs \
 ./DockNotebook.cs \
-./DockedHandler.cs \
-./DetachedHandler.cs
+./DetachedHandler.cs \
+./DockedHandler.cs
 
 PKG_REFERENCES = \
 gtk-sharp




More information about the Monodevelop-patches-list mailing list