Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

2008-07-18 Ivan N. Zlatev <contact@i-nz.net>

	* UI/PropertyGrid.cs, UI/MainView.cs: Clear the propertygrid.


svn path=/trunk/mwf-designer/; revision=108279
  • Loading branch information...
commit 4eadd87b63838081b5e978ac3f34a5fe9708c9a9 1 parent 0bdf5c0
Ivan Zlatev ivanz authored
4 ChangeLog
... ... @@ -1,3 +1,7 @@
  1 +2008-07-18 Ivan N. Zlatev <contact@i-nz.net>
  2 +
  3 + * UI/PropertyGrid.cs, UI/MainView.cs: Clear the propertygrid.
  4 +
1 5 2008-06-18 Ivan N. Zlatev <contact@i-nz.net>
2 6
3 7 * UI/PropertyGrid.cs: Handle removing of the root component.
4 mwf-designer.vpj
@@ -25,8 +25,8 @@
25 25 SaveOption="SaveNone"
26 26 RunFromDir="%rw"
27 27 CaptureOutputWith="ProcessBuffer"
28   - BuildFirst="1"
29   - ClearProcessBuffer="1">
  28 + ClearProcessBuffer="1"
  29 + BuildFirst="1">
30 30 <Exec CmdLine="make mono-design-run"/>
31 31 </Target>
32 32 <Target
1  src/UI/MainView.cs
@@ -151,6 +151,7 @@ private void CloseDocument (Document doc)
151 151 doc.Modified -= OnDocumentModified;
152 152 surfaceTabs.TabPages.Remove (surfaceTabs.SelectedTab);
153 153 _workspace.CloseDocument (doc);
  154 + propertyGrid.Clear ();
154 155 }
155 156
156 157 private void newToolStripMenuItem_Click (object sender, EventArgs e)
5 src/UI/PropertyGrid.cs
@@ -65,6 +65,11 @@ private void SetPrimarySelection (string componentName)
65 65 selectionService.SetSelectedComponents (new IComponent[] { selectedComponent });
66 66 }
67 67
  68 + public void Clear ()
  69 + {
  70 + Update (null);
  71 + }
  72 +
68 73 public void Update (IServiceProvider serviceProvider)
69 74 {
70 75 if (serviceProvider == null) {

0 comments on commit 4eadd87

Please sign in to comment.
Something went wrong with that request. Please try again.