Author: lluis
Date: 2007-10-18 06:36:03 -0400 (Thu, 18 Oct 2007)
New Revision: 87742
Modified:
trunk/stetic/ChangeLog
trunk/stetic/libstetic/editor/ActionItem.cs
Log:
* libstetic/editor/ActionItem.cs: The selected object needs to be the
action because that's what is shown in the properties pad.
Modified: trunk/stetic/ChangeLog
===================================================================
--- trunk/stetic/ChangeLog 2007-10-18 09:47:07 UTC (rev 87741)
+++ trunk/stetic/ChangeLog 2007-10-18 10:36:03 UTC (rev 87742)
@@ -1,3 +1,8 @@
+2007-10-18 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * libstetic/editor/ActionItem.cs: The selected object needs to be the
action
+ because that's what is shown in the properties pad.
+
2007-10-16 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* libstetic/wrapper/TextView.cs, libstetic/wrapper/TreeView.cs: By
default,
Modified: trunk/stetic/libstetic/editor/ActionItem.cs
===================================================================
--- trunk/stetic/libstetic/editor/ActionItem.cs 2007-10-18 09:47:07 UTC (rev
87741)
+++ trunk/stetic/libstetic/editor/ActionItem.cs 2007-10-18 10:36:03 UTC (rev
87742)
@@ -72,7 +72,7 @@
IDesignArea area = GetDesignArea ();
if (area.IsSelected (this))
return;
- IObjectSelection sel = area.SetSelection (this, this);
+ IObjectSelection sel = area.SetSelection (this,
node.Action != null ? node.Action.GtkAction : null);
sel.Drag += HandleItemDrag;
sel.Disposed += OnSelectionDisposed;
GrabFocus ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches