~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 11:17:00 UTC
  • mfrom: (677.2.1 dash_drag_drop_fix)
  • Revision ID: tarmac-20110831111700-3bg176bat4q1a1iz
[dash] Fixed drag and drop of results from the dash (in particular applications to the launcher).

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
            property string mimetype
35
35
            property string displayName
36
36
            property string comment
 
37
            property string dndUri
37
38
 
38
39
            Accessible.name: displayName
39
40
 
44
45
 
45
46
            DragItemWithUrl {
46
47
                anchors.fill: parent
47
 
                url: decodeURIComponent(uri)
 
48
                url: decodeURIComponent(dndUri)
48
49
                defaultAction: {
49
50
                    if (!url.indexOf("application://")) return Qt.CopyAction
50
51
                    else if (!url.indexOf("unity-install://")) return Qt.IgnoreAction