Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove temporary downloaded (cancelled) files SL #3973Manuel Kaufmann2012-11-161-0/+38
| | | | | | | | | | | | | | | | | When a download is cancelled for any reason WebKit leaves a temporary file called ".goutputstream-*" in the "instance" directory. This is because of a bug in GLib: * https://bugzilla.gnome.org/show_bug.cgi?id=629301 This patch is a workaround to that behaviour. Every time that Browse is started it looks for all the ".goutputstream" files in the "instance" directory and checks its mtime. If it greater than 1 day or it was created before we booted, Browse removes the old temporary file. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel QuiƱones <manuq@laptop.org>
* 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>
*