Jonas Jenwald 61e24c6f45 Small re-factoring of DocumentProperties
With the changes made in PR 5169 to enable quicker display of the File size, `setFileSize()` can now be called during file loading. This function parses *and* localizes the file size, where the l10n is a synchronous operation.
This patch:
* Re-factors `setFileSize()` to *only* update `rawFileSize`, and moves parsing and fetching of the l10n string to a separate method that isn't called until the Document Properties dialog is actually opened.

* Adds a couple of checks to make sure that `rawFileSize` is set to a positive number.

* Removes the `fileName` and `fileSize` properties. Since they are parsed every time the Document Properties dialog is opened, it doesn't seem necessary to cache them.
2014-08-16 12:15:49 +02:00
..
2014-04-18 12:11:00 -04:00
2014-03-14 16:46:35 -05:00
2014-07-18 22:34:50 +02:00
2014-08-06 10:09:27 -05:00
2014-06-12 10:28:42 -05:00
2014-05-22 13:53:19 -04:00