summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2010-04-20 12:36:23 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2010-04-20 12:36:23 +0000
commitc1e9ce35bbe7e6b2ec8c7426ae98a053aa04cd3c (patch)
treeb1f4bdf3f60bade265a55111d2bf7dda2e7ef855
parenta26e9c961e899c841cd1b825b8052a94b2cb272a (diff)
downloadtheme-c1e9ce35bbe7e6b2ec8c7426ae98a053aa04cd3c.tar
theme-c1e9ce35bbe7e6b2ec8c7426ae98a053aa04cd3c.tar.gz
theme-c1e9ce35bbe7e6b2ec8c7426ae98a053aa04cd3c.tar.bz2
theme-c1e9ce35bbe7e6b2ec8c7426ae98a053aa04cd3c.tar.xz
theme-c1e9ce35bbe7e6b2ec8c7426ae98a053aa04cd3c.zip
- ImageText is deprecated, replaced by Image.Text
-rw-r--r--common/plymouth/mdv.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/plymouth/mdv.script b/common/plymouth/mdv.script
index 57c5268..36e2760 100644
--- a/common/plymouth/mdv.script
+++ b/common/plymouth/mdv.script
@@ -162,7 +162,7 @@ fun display_password_callback (prompt, bullets)
motif.sprite.SetOpacity(0);
anim.sprite.SetOpacity(0);
- dialog.prompt_sprite.SetImage(ImageText(prompt, 1.0, 1.0, 1.0));
+ dialog.prompt_sprite.SetImage(Image.Text(prompt, 1.0, 1.0, 1.0));
for (index = 0; dialog.bullet[index] || index < bullets; index++)
{
@@ -185,7 +185,7 @@ fun display_password_callback (prompt, bullets)
fun display_message_callback (prompt)
{
-prompt = ImageText(prompt,1.0, 1.0, 1.0);
+prompt = Image.Text(prompt,1.0, 1.0, 1.0);
sprite_prompt.SetImage(prompt);
sprite_prompt.SetPosition((Window.GetWidth() - prompt.GetWidth()) / 2, Window.GetHeight() * 0.93, 2);
}