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 <[EMAIL PROTECTED]> 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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Sugar mailing list
[email protected]
http://lists.laptop.org/listinfo/sugar

Reply via email to