[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kde-workspace] plasma/generic/applets/devicenotifier/package/contents/ui: Disable device
From: Jacopo De Simoi <wilderkde () gmail ! com>
Date: 2012-12-04 8:02:21
Message-ID: 20121204080221.CE8F6A60C4 () git ! kde ! org
[Download RAW message or body]
Git commit 244a5e9781a3a70700e4c896c7ad26cefba6b626 by Jacopo De Simoi.
Committed on 04/12/2012 at 08:59.
Pushed by jacopods into branch 'master'.
Disable device icons when unavailable
During mount/unmount there is no way
to interact with the device; remark this information
by disabling device icons
Should we disable also labels?
M +1 -0 plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.qml
http://commits.kde.org/kde-workspace/244a5e9781a3a70700e4c896c7ad26cefba6b626
diff --git a/plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.qml \
b/plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.qml index \
c87f2d4..607da9f 100644
--- a/plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.qml
+++ b/plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.qml
@@ -95,6 +95,7 @@ Item {
height: width
z: 900
source: QIcon(deviceItem.icon)
+ enabled: deviceItem.state == 0
anchors {
left: parent.left
top: parent.top
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic