[ease/builder] Use proper constructor for WelcomeActor text
- From: Stéphane Maniaci <maniacis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease/builder] Use proper constructor for WelcomeActor text
- Date: Sun, 18 Jul 2010 05:36:37 +0000 (UTC)
commit f9939af4b0d9b81f2f21c6a7967878b236d8fee8
Author: Stéphane Maniaci <stephane maniaci gmail com>
Date: Wed Jul 14 20:35:54 2010 -0500
Use proper constructor for WelcomeActor text
src/ease-welcome-actor.vala | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/ease-welcome-actor.vala b/src/ease-welcome-actor.vala
index 1e6a533..7611cb0 100644
--- a/src/ease-welcome-actor.vala
+++ b/src/ease-welcome-actor.vala
@@ -58,11 +58,10 @@ public class Ease.WelcomeActor : Clutter.Group
rect.color = {0, 0, 0, 255};
add_actor(rect);
- text = new Clutter.Text();
- text.color = {255, 255, 255, 255};
+ text = new Clutter.Text.full (FONT_NAME,
+ theme.title,
+ {255, 255, 255, 255});
text.height = TEXT_HEIGHT;
- text.text = theme.title;
- text.font_name = FONT_NAME;
text.line_alignment = Pango.Alignment.RIGHT;
add_actor(text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]