[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:27:12 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=c248a16

The following commit has been merged in the master branch:
commit c248a16b670af026b7ab1d550737b52f64019848
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Mon Dec 2 19:00:10 2013 +0100

    Plasmoid: Changed IconWidget -> SvgItem to enable themes to change the icon
---
 .../package/contents/ui/CompactRepresentation.qml  | 28 ++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)

diff --git a/plasmoid/package/contents/ui/CompactRepresentation.qml b/plasmoid/package/contents/ui/CompactRepresentation.qml
index 174795f..55e9143 100644
--- a/plasmoid/package/contents/ui/CompactRepresentation.qml
+++ b/plasmoid/package/contents/ui/CompactRepresentation.qml
@@ -23,10 +23,33 @@ import org.kde.plasma.graphicswidgets 0.1 as PlasmaWidgets
 import org.kde.plasma.core 0.1 as PlasmaCore
 
 Item {
+    id: view
+    anchors.fill: parent
+
+    //TODO: Use this to detect if we should be iconized or full size
+    function isConstrained() {
+        return (plasmoid.formFactor == Vertical || plasmoid.formFactor == Horizontal);
+    }
+
+
+/*
     PlasmaWidgets.IconWidget {
         id: icon
-        Component.onCompleted: setIcon("smartphone");
+        Component.onCompleted: setIconByName("smartphone");
+        anchors.fill: parent
+    }
+*/
+
+    PlasmaCore.Svg {
+        id: svg
+        imagePath: "icons/smartphone"
+    }
+
+    PlasmaCore.SvgItem {
         anchors.fill: parent
+        svg: svg
+        height: view.height
+        width: view.width
     }
 
     MouseArea {
@@ -41,4 +64,5 @@ Item {
             subText: "KDE Connect device notifications"
         }
     }
-}
\ No newline at end of file
+
+}

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list