diff options
author | Manuel Kaufmann <humitos@gmail.com> | 2012-10-09 11:57:06 (GMT) |
---|---|---|
committer | Manuel QuiƱones <manuq@laptop.org> | 2012-11-16 18:15:51 (GMT) |
commit | 32764d06d373c8fba9e87044e86e30b291730f16 (patch) | |
tree | 680d81b8890d6c9e01646d6eb67079aeba89b988 /po | |
parent | f96848a9fb4537e01994c096659541a967dd749f (diff) |
Remove temporary downloaded (cancelled) files SL #3973
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>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions