[Pkg-privacy-commits] [tails-installer] 91/210: Added a busy indicator for no inserted drives
Intrigeri
intrigeri at moszumanska.debian.org
Wed May 24 15:26:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.
commit feb2f3b849faa199d98ab3790f9a65002910b910
Author: Martin Briza <mbriza at redhat.com>
Date: Tue May 12 17:39:36 2015 +0200
Added a busy indicator for no inserted drives
---
liveusb/components/DownloadDialog.qml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/liveusb/components/DownloadDialog.qml b/liveusb/components/DownloadDialog.qml
index f550996..faceb8a 100644
--- a/liveusb/components/DownloadDialog.qml
+++ b/liveusb/components/DownloadDialog.qml
@@ -209,7 +209,7 @@ Dialog {
}
}
AdwaitaComboBox {
- Layout.preferredWidth: implicitWidth * 2.3
+ Layout.preferredWidth: implicitWidth * 2.4
model: liveUSBData.usbDriveNames
currentIndex: liveUSBData.currentDrive
onCurrentIndexChanged: {
@@ -217,6 +217,20 @@ Dialog {
liveUSBData.currentDrive = currentIndex
}
enabled: !liveUSBData.currentImage.writer.running
+ Row {
+ anchors.fill: parent
+ visible: liveUSBData.usbDriveNames.length <= 0
+ BusyIndicator {
+ anchors.verticalCenter: parent.verticalCenter
+ height: parent.height * 0.6
+ }
+ Text {
+ height: parent.height
+ verticalAlignment: Text.AlignVCenter
+ text: qsTranslate("", "Waiting for a drive to be connected")
+ color: "gray"
+ }
+ }
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git
More information about the Pkg-privacy-commits
mailing list