~sil2100/unity-2d/bump_new_nux_libunity

« back to all changes in this revision

Viewing changes to places/UnityFileInfoRenderer.qml

  • Committer: Florian Boucault
  • Date: 2011-02-10 14:40:03 UTC
  • mfrom: (359.2.44 maverick)
  • Revision ID: florian@boucault.net-20110210144003-6hhny3axzwvty3h2
Merged from 'maverick' branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
            property string parentDirectory
19
19
            parentDirectory: {
20
20
                var slashIndex, path, directoryName
21
 
                var path = uri.toString()
 
21
                var path = decodeURIComponent(uri.toString())
22
22
 
23
23
                /* Remove the trailing file name */
24
24
                slashIndex = path.lastIndexOf("/")
30
30
                return directoryName
31
31
            }
32
32
 
33
 
            onClicked: placeEntryModel.place.activate(uri.toString())
 
33
            onClicked: placeEntryModel.place.activate(decodeURIComponent(uri.toString()))
34
34
 
35
35
            Image {
36
36
                id: icon