[ease] [backgrounds] Added a default gradient.



commit c7eaa17cc84b59b5107d89b654911fc00ed41b5a
Author: Nate Stedman <natesm gmail com>
Date:   Wed Jul 28 09:52:43 2010 -0400

    [backgrounds] Added a default gradient.

 ease-core/ease-background.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/ease-core/ease-background.vala b/ease-core/ease-background.vala
index 591a19e..c7f048b 100644
--- a/ease-core/ease-background.vala
+++ b/ease-core/ease-background.vala
@@ -41,7 +41,8 @@ public class Ease.Background : GLib.Object
 	 * To use this property, { link background_type} must also be set to
 	 * { link BackgroundType.GRADIENT}.
 	 */
-	public Gradient gradient { get; set; }
+	public Gradient gradient { get; set;
+	                           default = Gradient.default_background; }
 	
 	/**
 	 * The background image, if this element uses an image for a background.



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