[sugar] [PATCH] screenshots hurt

Marco Pesenti Gritti mpgritti
Fri Sep 5 14:11:53 EDT 2008


On Fri, Sep 5, 2008 at 7:29 PM, Erik Garrison <erik at laptop.org> wrote:
> I'm somewhat bothered by the completely black screenshot but see no
> immediate way to alleviate it.
>
> Another issue with the current patchset is that if the activity is
> closed by a signal from the window manager (e.g. when the user selects
> the 'shutdown' option from the system palette in the home view) then the
> screenshots are not taken, as activity.Activity.close() is not hit.

Are you sure? wm close should cause a delete-event, which is implemented as:

    def __delete_event_cb(self, widget, event):
        self.close()
        return True

Marco



More information about the Sugar-devel mailing list