Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/downloadmanager.py
Commit message (Collapse)AuthorAgeFilesLines
* Cancel a download if space is very tight SL #394Manuel Kaufmann2012-11-161-16/+72
| | | | | | | | | | | It checks for enough space[1] before downloading the file. If there is no enough space, Browse will cancel the download process before starting it and an Alert will be shown to the user to inform this situation. [1] this check is: free_space - file_to_download > 50Mb Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Change string formatting in downloadmanager to use named argumentsManuel Quiñones2012-03-221-2/+4
| | | | | | | | Fixes this warning in Pootle: 'msgid' format string with unnamed arguments cannot be properly localized: Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Bring back download functionality using WebKitSimon Schampijer2012-01-231-309/+70
| | | | | | | | | | | | | | This brings back the download functionality to Browse using WebKit, it handles the cases when you click on a link and the Browser is not setup to view this file. Requesting a download through Palettes is still to come. The code is inspired by the download code in Surf. Signed-off-by: Simon Schampijer <simon@laptop.org>
* Rename sugar to sugar3Manuel Quiñones2011-11-291-7/+7
| | | | Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Port from PyGTK to PyGI, renamingManuel Quiñones2011-11-251-9/+9
| | | | | | | Was done running the pygi-convert.sh script. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Use named parameters to enable translation in msg with multiple stringsGonzalo Odiard2011-10-061-2/+3
| | | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org> Signed-off-by: Rafael Ortiz <rafael@activitycentral.com>
* Remove more unused importsGonzalo Odiard2011-08-291-2/+0
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* minor pep8 cleanupRafael Ortiz2011-08-171-1/+1
|
* going back to previous formating as it was damaging downloadsRafael Ortiz2011-08-171-1/+1
|
* avoiding gettext exceptionRafael Ortiz2011-08-081-1/+1
|
* Remove unfinished downloadsRafael Ortiz2011-07-151-0/+11
| | | | | | When Browse starts removes all files in the instance directory that where not modified in a long time(1 day). Since there is no way to pause a download and continue later, this files are failed downloads that should be eliminated. this is the ''cache'' case of an already fixed issue, by Jose Prous joseprous@gmail.com
* Clarify warning on Stop with pending downloads (SL#1508)Sascha Silbe2011-06-121-0/+4
| | | | | | | | | | | | | The warning previously used the word "cancel" to describe two antagonistic operations: Not continuing the download (including erasing it from the Journal) and not stopping Browse. The new wording was agreed upon [1] by the Design Team. [1] http://meeting.sugarlabs.org/sugar-meeting/meetings/2011-05-29T16:09:15.html Closes: SL#1508 Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
*