[Monodevelop-patches-list] r2300 - trunk/MonoDevelop/Unused/Gdl

John Luke <jluke@cfl.rr.com> jluke at mono-cvs.ximian.com
Sun Mar 6 22:24:58 EST 2005


Author: jluke
Date: 2005-03-06 22:24:57 -0500 (Sun, 06 Mar 2005)
New Revision: 2300

Modified:
   trunk/MonoDevelop/Unused/Gdl/DockPaned.cs
   trunk/MonoDevelop/Unused/Gdl/TODO
Log:
track paned position


Modified: trunk/MonoDevelop/Unused/Gdl/DockPaned.cs
===================================================================
--- trunk/MonoDevelop/Unused/Gdl/DockPaned.cs	2005-03-07 02:55:59 UTC (rev 2299)
+++ trunk/MonoDevelop/Unused/Gdl/DockPaned.cs	2005-03-07 03:24:57 UTC (rev 2300)
@@ -63,6 +63,7 @@
 				Child = new VPaned ();
 			
 			// FIXME: track position to emit layout changed
+			Child.AddNotification ("position", OnNotifyPosition);
 												
 			Child.Parent = this;
 			Child.Show ();
@@ -275,5 +276,10 @@
 
 			return mayDock;
 		}
+
+		void OnNotifyPosition (object sender, EventArgs a)
+		{
+			Master.EmitLayoutChangedEvent ();
+		}
 	}
 }

Modified: trunk/MonoDevelop/Unused/Gdl/TODO
===================================================================
--- trunk/MonoDevelop/Unused/Gdl/TODO	2005-03-07 02:55:59 UTC (rev 2299)
+++ trunk/MonoDevelop/Unused/Gdl/TODO	2005-03-07 03:24:57 UTC (rev 2300)
@@ -6,4 +6,3 @@
  - improve de-serialization (also use ExportLayoutAttribute?)
  - "after" properties, ex. restoring Notebook.Page
  - placeholders in layout store/restore
- - track paned position




More information about the Monodevelop-patches-list mailing list