Commit Graph
4 Commits
Author SHA1 Message Date
Martin Dengler 45fc0b6186 Throw MalformedBundleException on broken zip files
sugar.bundle.bundle.Bundle users (e.g.
jarabe.model.bundleregistry.BundleRegistry._add_bundle) only expect
MalformedBundleException to be thrown, not exceptions of zipfile.

This patch solves the most severe issue in #1876: filling up the
filesystem with temporary files that won't be deleted afterwards.

Before we can consider this bug completely fixed, we still need
to do something for the remaining issues:

 1) Unpacking shouldn't be attempted if there isn't a safety margin

 2) System becomes unresponsive during unpacking

 3) No progress indication for the operation, so users are tempted
    to click multiple times

 4) No error messages displayed for unpacking errors, which is a
    common Sugar nuisance.

http://bugs.sugarlabs.org/ticket/1876#comment:5 offers possible
strategies for (1) and (2).

Signed-off-by: Martin Dengler <[email protected]>
Signed-off-by: Bernie Innocenti <[email protected]>
[style fixes, adjusted description]
Signed-off-by: Sascha Silbe <[email protected]>
Reviewed-by: Aleksey Lim <[email protected]>
2011-02-05 16:30:03 +01:00
Martin Dengler 8696e2ad1d #7759 Default home view should be ring
This is bobby's patch to #7759 changing the default home view to ring.

|TestCase|

Remove the "[Layout]" section from ~olpc/.sugar/default/config, or rm
-rf ~olpc/.sugar, or reflash.  Start sugar.  Verify the initial Home
layout is the Ring layout.
2008-08-04 12:56:26 +01:00
Martin Dengler 6a41396dd2 #4208 get_icon_state accepts negative step kwarg 2008-07-14 16:01:11 +01:00
Martin Dengler 1403f7d26d get_icon_name() now takes step kwarg for #7248.1 2008-06-23 14:34:51 +01:00