~elopio/ubuntu-filemanager-app/fix1188732-test_open_directory

« back to all changes in this revision

Viewing changes to FolderListView.qml

  • Committer: Tarmac
  • Author(s): Arto Jalkanen
  • Date: 2013-04-16 17:04:03 UTC
  • mfrom: (19.1.1 ubuntu-filemanager-app)
  • Revision ID: tarmac-20130416170403-7npds4qqeloxwyv1
File operation progress dialog. Errors put into main text body as Ubuntu components seem not able to handle long texts in title.
.

Approved by Ubuntu Phone Apps Jenkins Bot, Arto Jalkanen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
            onAccepted: {
22
22
                console.log("Delete accepted for filePath, fileName", filePath, fileName)
23
23
 
 
24
                PopupUtils.open(Qt.resolvedUrl("FileOperationProgressDialog.qml"),
 
25
                                root,
 
26
                                {
 
27
                                    title: i18n.tr("Deleting files"),
 
28
                                    // descriptionPrepend: i18n.tr("Operation in progress"),
 
29
                                    folderListModel: folderListModel
 
30
                                 }
 
31
                                )
 
32
 
 
33
                console.log("Doing delete")
24
34
                folderListModel.rm(filePath)
25
35
            }
26
36
        }