[ease] Fix last commit.



commit 0d8f45d2e93927cad2eca8512dfde4c845ec5980
Author: Nate Stedman <natesm gmail com>
Date:   Wed May 19 00:35:22 2010 -0400

    Fix last commit.

 src/libease/EditorEmbed.vala |    2 +-
 src/libease/Player.vala      |    2 +-
 src/libease/SlideButton.vala |    2 +-
 src/libease/VideoActor.vala  |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libease/EditorEmbed.vala b/src/libease/EditorEmbed.vala
index 5284287..0bb7516 100644
--- a/src/libease/EditorEmbed.vala
+++ b/src/libease/EditorEmbed.vala
@@ -170,7 +170,7 @@ namespace Ease
 			slide_actor = new SlideActor.from_slide(document,
 			                                        slide,
 			                                        false,
-			                                        ActorContext.Editor);
+			                                        ActorContext.EDITOR);
 			                                        
 			// make the elements clickable
 			for (unowned List<Clutter.Actor>* itr = slide_actor.contents.get_children();
diff --git a/src/libease/Player.vala b/src/libease/Player.vala
index 578be7e..72fe2fc 100644
--- a/src/libease/Player.vala
+++ b/src/libease/Player.vala
@@ -155,7 +155,7 @@ namespace Ease
 		private void create_current_slide(Slide slide)
 		{
 			current_slide = new SlideActor.from_slide(document, slide, true,
-			                                          ActorContext.Presentation);
+			                                          ActorContext.PRESENTATION);
 		}
 		
 		private void animation_complete()
diff --git a/src/libease/SlideButton.vala b/src/libease/SlideButton.vala
index 1f88b98..9c7f104 100644
--- a/src/libease/SlideButton.vala
+++ b/src/libease/SlideButton.vala
@@ -74,7 +74,7 @@ namespace Ease
 			((Clutter.Stage)(slide_image.get_stage())).set_color(color);
 
 			// make the slide actor
-			actor = new SlideActor.from_slide(s.parent, s, true, ActorContext.Sidebar);
+			actor = new SlideActor.from_slide(s.parent, s, true, ActorContext.SIDEBAR);
 			actor.width = s.parent.width;
 			actor.height = s.parent.height;
 			((Clutter.Stage)(slide_image.get_stage())).add_actor(actor);
diff --git a/src/libease/VideoActor.vala b/src/libease/VideoActor.vala
index 35fd68a..dedc9ce 100644
--- a/src/libease/VideoActor.vala
+++ b/src/libease/VideoActor.vala
@@ -43,7 +43,7 @@ namespace Ease
 			video.set_filename(e.parent.parent.path + e.data.get("filename"));
 
 			// play the video if it's in the presentation
-			if (c == ActorContext.Presentation)
+			if (c == ActorContext.PRESENTATION)
 			{
 				video.set_playing(true);
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]