@@ -101,13 +101,24 @@ UbuntuShape {
101 right: parent.right
101 right: parent.right
107+ fillMode: Image.PreserveAspectCrop
108+ objectName: "noShapeIcon"
112+ visible: iconSource !== undefined && iconSource !== "" && notification.hints["x-canonical-noshape-icon"] == "true"
104 UbuntuShape {
115 UbuntuShape {
107 objectName: "icon"
118 objectName: "icon"
108 width: units.gu(6)
119 width: units.gu(6)
109 height: units.gu(6)
120 height: units.gu(6)
110− visible: iconSource !== undefined && iconSource != ""
121+ visible: iconSource !== undefined && iconSource !== "" && notification.hints["x-canonical-noshape-icon"] !== "true"
111 image: Image {
122 image: Image {
112 id: avatarIcon
123 id: avatarIcon
@@ -129,7 +140,7 @@ UbuntuShape {
129 id: labelColumn
140 id: labelColumn
130 width: parent.width - x
141 width: parent.width - x
132− anchors.verticalCenter: (icon.visible && !bodyLabel.visible) ? icon.verticalCenter : undefined
143+ anchors.verticalCenter: ((icon.visible || noShapeIcon.visible) && !bodyLabel.visible) ? (icon.visible ? icon.verticalCenter : noShapeIcon.verticalCenter) : undefined
135 id: summaryLabel
146 id: summaryLabel