/usr/share/ubuntu/settings/system/qml-plugins/about/StorageItem.qml is in ubuntu-system-settings 0.3+16.04.20160330-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | import QtQuick 2.4
import Ubuntu.Components 1.3
Item {
property string label
property color colorName
property string value
property bool ready: false
height: units.gu(3)
width: parent.width-units.gu(4)
anchors.horizontalCenter: parent.horizontalCenter
Row {
spacing: units.gu(1)
UbuntuShape {
anchors.verticalCenter: parent.verticalCenter
width: units.gu(3)
height: units.gu(2)
backgroundColor: colorName
}
Label { text: label }
}
Label {
id: sizelabel
objectName: "sizeLabel"
anchors.right: parent.right
text: Utilities.formatSize(value)
visible: ready
}
ActivityIndicator {
anchors.right: parent.right
visible: !ready
running: visible
}
}
|