Author: toshok
Date: 2007-10-31 13:47:57 -0500 (Wed, 31 Oct 2007)
New Revision: 88599
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/trigger.cpp
Log:
2007-10-31 Chris Toshok <[EMAIL PROTECTED]>
* trigger.cpp (EventTrigger::SetTarget,
EventTrigger::RemoveTarget): use UIElement::LoadedEvent instead of
"Loaded".
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2007-10-31 18:35:56 UTC (rev 88598)
+++ trunk/moon/src/ChangeLog 2007-10-31 18:47:57 UTC (rev 88599)
@@ -1,3 +1,9 @@
+2007-10-31 Chris Toshok <[EMAIL PROTECTED]>
+
+ * trigger.cpp (EventTrigger::SetTarget,
+ EventTrigger::RemoveTarget): use UIElement::LoadedEvent instead of
+ "Loaded".
+
2007-10-31 Jackson Harper <[EMAIL PROTECTED]>
* dependencyobject.h|cpp: Give DependencyProperties the ability to
Modified: trunk/moon/src/trigger.cpp
===================================================================
--- trunk/moon/src/trigger.cpp 2007-10-31 18:35:56 UTC (rev 88598)
+++ trunk/moon/src/trigger.cpp 2007-10-31 18:47:57 UTC (rev 88599)
@@ -13,6 +13,7 @@
#include "trigger.h"
#include "collection.h"
+#include "uielement.h"
EventTrigger::EventTrigger ()
@@ -46,7 +47,7 @@
g_assert (target);
// Despite the name, it can only be loaded (according to the docs)
- target->AddHandler ("Loaded", event_trigger_fire_actions, this);
+ target->AddHandler (UIElement::LoadedEvent, event_trigger_fire_actions,
this);
}
void
@@ -54,7 +55,7 @@
{
g_assert (target);
- target->RemoveHandler ("Loaded", event_trigger_fire_actions, this);
+ target->RemoveHandler (UIElement::LoadedEvent,
event_trigger_fire_actions, this);
}
EventTrigger::~EventTrigger ()
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches