[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: Put the
From:       Jacopo De Simoi <wilderkde () gmail ! com>
Date:       2012-12-04 12:28:23
Message-ID: 20121204122823.968B5A6091 () git ! kde ! org
[Download RAW message or body]

Git commit 9316820e77af3aa9b4c034e1259c4895432104f2 by Jacopo De Simoi.
Committed on 04/12/2012 at 13:26.
Pushed by jacopods into branch 'master'.

Put the busyspinner in the mouseEventListener area

M  +10   -13   plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.qml


http://commits.kde.org/kde-workspace/9316820e77af3aa9b4c034e1259c4895432104f2

diff --git a/plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.qml \
b/plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.qml index \
                8b77217..3662092 100644
--- a/plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.qml
+++ b/plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.qml
@@ -121,7 +121,7 @@ Item {
             anchors {
                 top: parent.top
                 left: deviceIcon.right
-                right: leftAction.left
+                right: leftActionArea.left
                 leftMargin: padding.margins.left
             }
             PlasmaComponents.Label {
@@ -205,6 +205,15 @@ Item {
                 active: leftActionArea.containsMouse
                 visible: !busySpinner.visible
             }
+
+            PlasmaComponents.BusyIndicator {
+                id: busySpinner
+                anchors.fill: parent
+                running: visible
+                visible: deviceItem.state != 0
+            }
+
+            // FIXME onClicked: ...
         }
 
         PlasmaCore.ToolTip {
@@ -245,18 +254,6 @@ Item {
             }
         }
 
-        PlasmaComponents.BusyIndicator {
-            id: busySpinner
-            width: theme.iconSizes.dialog*0.8
-            height: width
-            anchors {
-                right: parent.right
-                verticalCenter: deviceIcon.verticalCenter
-            }
-            running: visible
-            visible: deviceItem.state != 0
-        }
-
         ListView {
             id: actionsList
             anchors {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic