Hi,<br><br>I made a python class that get messages from a sqlite3 database and show them via Martin's notificator. <br>I want to call this class at sugar startup. ¿Where do I put this call? I tried in .xsession an sugar-session but it doesn't work.<br>
<br>Thanks in advance,<br><br> <br clear="all"> <div> </div><font face="'times new roman', serif">Esteban Bordón</font><br><font face="'times new roman', serif">Investigación y Desarrollo - Plan Ceibal</font><br>
<div style="text-align: left;"><font face="'times new roman', serif">Centro Ceibal - Av. Italia 6201 - Montevideo, Uruguay</font><br></div><font face="'times new roman', serif"></font><br>
<br><br><div class="gmail_quote">2011/1/11 Aleksey Lim <span dir="ltr"><<a href="mailto:alsroot@member.fsf.org">alsroot@member.fsf.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, Jan 11, 2011 at 11:49:39AM -0300, Martin Abente wrote:<br>
> Corner notification icon will only show up if the frame is not<br>
> visible.<br>
<br>
</div>+1, moreove it supress issue w/ not popping up the frame on<br>
moving mouse cursor to left-top corner of notification icon<br>
<div><div></div><div class="h5"><br>
><br>
> ---<br>
> src/jarabe/frame/frame.py | 4 +++-<br>
> 1 files changed, 3 insertions(+), 1 deletions(-)<br>
><br>
> diff --git a/src/jarabe/frame/frame.py b/src/jarabe/frame/frame.py<br>
> index 4366076..663f297 100644<br>
> --- a/src/jarabe/frame/frame.py<br>
> +++ b/src/jarabe/frame/frame.py<br>
> @@ -390,8 +390,10 @@ class Frame(object):<br>
> button.start_pulsing()<br>
><br>
> palette.push_message(body, summary, icon_name, xo_color)<br>
> - self._launch_notification_icon(_DEFAULT_ICON, xo_color, corner, duration)<br>
><br>
> + if not self.visible:<br>
> + self._launch_notification_icon(_DEFAULT_ICON, xo_color,<br>
> + corner, duration)<br>
><br>
> def remove_message(self, palette, corner):<br>
> if corner not in self._notif_by_message:<br>
> --<br>
> 1.7.1<br>
><br>
> _______________________________________________<br>
> Dextrose mailing list<br>
> <a href="mailto:Dextrose@lists.sugarlabs.org">Dextrose@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/dextrose" target="_blank">http://lists.sugarlabs.org/listinfo/dextrose</a><br>
><br>
<br>
</div></div>--<br>
<font color="#888888">Aleksey<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Dextrose mailing list<br>
<a href="mailto:Dextrose@lists.sugarlabs.org">Dextrose@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/dextrose" target="_blank">http://lists.sugarlabs.org/listinfo/dextrose</a><br>
</div></div></blockquote></div><br>