[sugar] [PATCH] screenshots hurt

Andrés Ambrois andresambrois at gmail.com
Fri Sep 5 14:26:24 EDT 2008


 Hello!  I hope you don't mind my intrusion :) : 

On Friday 05 September 2008 15:11:53 Marco Pesenti Gritti wrote:
> 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

  Right, but I think he's referring to the quit-requested triggered by the 
_ActivitySession object (XSMP). 

  close() will also call _prepare_close() so this case will be covered as 
well. 

-- 
  -Andrés
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080905/d414f772/attachment.pgp 


More information about the Sugar mailing list