From f8a522106c79ae3d70af4498e006c28f8b5887d4 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Mon, 28 Jan 2019 09:25:55 +0100 Subject: Update: icon not availble in Gnome Software sources: move button --- qml/mw-ui.qml | 48 +++++++++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 19 deletions(-) (limited to 'qml') diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index ed75495..fb1e309 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -251,21 +251,6 @@ Rectangle { Layout.maximumWidth: slideshow.width -110 color: "white" } - Button { - Layout.maximumWidth: slideshow.width * .40 - Layout.columnSpan: 2 - Layout.alignment: Qt.AlignHCenter - objectName: "launch" - onClicked: { launch.command(["drakrpm-edit-media",])} - style: ButtonStyle { - label: Label { - text: qsTr("Edit software sources")+" *"; - width: parent.width - wrapMode: Text.WordWrap - color: "black" - } - } - } Button { Layout.margins: 5 Layout.alignment: Qt.AlignTop @@ -283,15 +268,38 @@ Rectangle { } } Label { text: qsTr("If you enabled the online repositories during installation, some media sources should be installed already. Otherwise, we will now configure these online repositories. - If this computer will have access to the Internet, you can delete the Local entry from the list of repositories.")+"

"+ - qsTr("Now, please enable or disable the online repositories of your choice: click on the Edit software repositories button. Select at least the release and updates pair. Debug and Testing are for special cases.")+"
"+ - qsTr("After you have checked and enabled the repositories you need, you can go to the next slide.
"); + If this computer will have access to the Internet, you can delete the Local entry from the list of repositories."); wrapMode: Text.WordWrap textFormat: Text.RichText color: "white" Layout.fillWidth: true Layout.maximumWidth: slideshow.width - 110 } + Label { text: qsTr("Now, please enable or disable the online repositories of your choice: click on the Edit software repositories button. Select at least the release and updates pair. Debug and Testing are for special cases.")+"
"+ + qsTr("After you have checked and enabled the repositories you need, you can go to the next slide.") + wrapMode: Text.WordWrap + textFormat: Text.RichText + color: "white" + Layout.fillWidth: true + Layout.maximumWidth: slideshow.width - 10 + Layout.columnSpan: 2 + Layout.margins: 10 + } + Button { + Layout.maximumWidth: slideshow.width * .40 + Layout.columnSpan: 2 + Layout.alignment: Qt.AlignHCenter + objectName: "launch" + onClicked: { launch.command(["drakrpm-edit-media",])} + style: ButtonStyle { + label: Label { + text: qsTr("Edit software sources")+" *"; + width: parent.width + wrapMode: Text.WordWrap + color: "black" + } + } + } } Label { @@ -317,7 +325,9 @@ Rectangle { Label { width: slideshow.width - 40 padding: 20 - text: qsTr("Mageia provides software which may be updated in order to fix bugs or security issues. It is highly recommended that you update your system regularly. An Update icon will appear in your task bar when new updates are available. To run the updates, just click on the icon below and give your user password - or use the Software Manager (root password). This is a background process and you will be able to use your computer normally during the updates."+"\n"); + text: qsTr("Mageia provides software which may be updated in order to fix bugs or security issues. It is highly recommended that you update your system regularly. \ +An Update icon will appear in your task bar when new updates are available (not available with Gnome). To run the updates, just click on the icon below and give your user password - or \ +use the Software Manager (root password). This is a background process and you will be able to use your computer normally during the updates."+"\n"); wrapMode: Text.WordWrap color: "white" } -- cgit v1.2.1