[Dextrose] Notify System on boot

Esteban Bordón ebordon at plan.ceibal.edu.uy
Tue Dec 20 12:01:33 EST 2011


 Hi,

I'm trying to show notifications on Sugar boot by adding a code in
/usr/bin/sugar-session
the code is someting like:

from jarabe.frame import get_view
frame = get_view()
for message in _get_messages():
   frame.add_message(body=message["text"], summary=message["title"])

This code works well, but when sugar starts the icon of journal dissapear
from the frame. I attach an example.

Thanks in advance,
Esteban.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/dextrose/attachments/20111220/092b7076/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura pantalla de _Hogar_.png
Type: image/png
Size: 63202 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/dextrose/attachments/20111220/092b7076/attachment-0001.png>


More information about the Dextrose mailing list