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

« back to all changes in this revision

Viewing changes to FolderListPage.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:
89
89
            console.log("FolderListModel Error Title/Description", errorTitle, errorMessage)
90
90
            PopupUtils.open(Qt.resolvedUrl("NotifyDialog.qml"), root,
91
91
                            {
92
 
                                title: i18n.tr(errorTitle),
93
 
                                text: i18n.tr(errorMessage)
 
92
                                // Unfortunately title can not handle too long texts. TODO: bug report
 
93
                                // title: i18n.tr(errorTitle),
 
94
                                title: i18n.tr("File operation error"),
 
95
                                text: errorTitle + ": " + errorMessage
94
96
                            })
95
97
        }
96
98
    }