From: Luciano Montanaro Date: Sun, 10 Nov 2013 13:58:52 +0000 (+0100) Subject: Small fixes for sailfish os X-Git-Tag: tags/0.6.1^2~4 X-Git-Url: http://git.maemo.org/git/?p=quandoparte;a=commitdiff_plain;h=ba35e1e65f06b904cda5e14e88d2eb9f123af39b Small fixes for sailfish os --- diff --git a/application/resources/sailfish/applications/quandoparte.desktop b/application/resources/sailfish/applications/quandoparte.desktop new file mode 100755 index 0000000..250e043 --- /dev/null +++ b/application/resources/sailfish/applications/quandoparte.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Terminal=false +Name=Quando Parte +Exec=/usr/bin/invoker --type=silica-qt5 -s /usr/bin/quandoparte +Icon=/usr/share/icons/hicolor/meegotouch/apps/quandoparte.png diff --git a/application/resources/sailfish/qml/cover/CoverPage.qml b/application/resources/sailfish/qml/cover/CoverPage.qml index 17ee438..181a54d 100644 --- a/application/resources/sailfish/qml/cover/CoverPage.qml +++ b/application/resources/sailfish/qml/cover/CoverPage.qml @@ -2,25 +2,11 @@ import QtQuick 2.0 import Sailfish.Silica 1.0 CoverBackground { - Label { - id: label + CoverPlaceholder { anchors.centerIn: parent text: qsTr("Quando Parte") + icon.source: "/usr/share/icons/hicolor/meegotouch/apps/quandoparte.png" } - -/* - CoverActionList { - id: coverAction - - CoverAction { - iconSource: "image://theme/icon-cover-next" - } - - CoverAction { - iconSource: "image://theme/icon-cover-pause" - } - } -*/ } diff --git a/application/resources/sailfish/qml/pages/StationPage.qml b/application/resources/sailfish/qml/pages/StationPage.qml index b1ea927..9d240d9 100644 --- a/application/resources/sailfish/qml/pages/StationPage.qml +++ b/application/resources/sailfish/qml/pages/StationPage.qml @@ -57,18 +57,14 @@ Page { } Item { id: errorDisplay - anchors.centerIn: parent + anchors.fill: parent Column { - anchors.centerIn: parent + anchors.fill: parent spacing: Theme.paddingLarge Label { - text: qsTr("Error!") - width: parent.width - font.pixelSize: Theme.fontSizeHuge - horizontalAlignment: Text.AlignHCenter - } - Label { - text: schedule.error + textFormat: Text.StyledText + wrapMode: Text.WordWrap + text: "

" + qsTr("Error!") + "

" + schedule.error + "

" width: parent.width font.pixelSize: Theme.fontSizeHuge horizontalAlignment: Text.AlignHCenter