From 4951ac1b2721a4baf8f23cb4a8bb62cbd6efcb3d Mon Sep 17 00:00:00 2001 From: Jean-Yves Avenard Date: Thu, 4 Jul 2013 12:14:09 +1000 Subject: [PATCH] Change theme widget names to be a bit more universal Was too focused on playing music, a legacy from originally using the miniplayer theme --- .../libmythui/mythuinotificationcenter.cpp | 10 +++---- mythtv/themes/default/notification-ui.xml | 28 +++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/mythtv/libs/libmythui/mythuinotificationcenter.cpp b/mythtv/libs/libmythui/mythuinotificationcenter.cpp index 3e5e403284f..73ae45bac62 100644 --- a/mythtv/libs/libmythui/mythuinotificationcenter.cpp +++ b/mythtv/libs/libmythui/mythuinotificationcenter.cpp @@ -183,12 +183,12 @@ bool MythUINotificationScreen::Create(void) // The xml should contain an named 'coverart', if it doesn't // then we cannot display the image and may as well abort - m_artworkImage = dynamic_cast(GetChild("coverart")); + m_artworkImage = dynamic_cast(GetChild("image")); m_titleText = dynamic_cast(GetChild("title")); - m_artistText = dynamic_cast(GetChild("artist")); - m_albumText = dynamic_cast(GetChild("album")); - m_formatText = dynamic_cast(GetChild("info")); - m_timeText = dynamic_cast(GetChild("time")); + m_artistText = dynamic_cast(GetChild("origin")); + m_albumText = dynamic_cast(GetChild("description")); + m_formatText = dynamic_cast(GetChild("extra")); + m_timeText = dynamic_cast(GetChild("progress_text")); m_progressBar = dynamic_cast(GetChild("progress")); m_created = true; diff --git a/mythtv/themes/default/notification-ui.xml b/mythtv/themes/default/notification-ui.xml index d13ac1629fe..aae7c6d6396 100644 --- a/mythtv/themes/default/notification-ui.xml +++ b/mythtv/themes/default/notification-ui.xml @@ -28,22 +28,22 @@ baselarge - - - - - - - - - - - -