~andreagrandi/unity-2d/trash-nautilus-setting-oneiric

« back to all changes in this revision

Viewing changes to places/TileVertical.qml

  • Committer: Tarmac
  • Author(s): Florian Boucault
  • Date: 2011-08-31 08:31:56 UTC
  • mfrom: (677.1.1 icon_fallback)
  • Revision ID: tarmac-20110831083156-datyklsjb8ttedvw
[dash][launcher] When an application has no icon or the icon fails to load, display a placeholder icon.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
            Image {
80
80
                id: icon
81
81
 
82
 
                source: iconHint != "" ? "image://icons/"+iconHint : ""
 
82
                source: iconHint != "" ? "image://icons/"+iconHint : "image://icons/unknown"
 
83
                onStatusChanged: if (status == Image.Error) source = "image://icons/unknown"
83
84
                width: 64
84
85
                height: 64
85
86
                anchors.horizontalCenter: parent.horizontalCenter