Hi Martin,<div><br></div><div>What about using this:</div><div><a href="https://developer.gnome.org/notification-spec/">https://developer.gnome.org/notification-spec/</a> ?</div><div><br></div><div>I really think we should be moving towards FreeDesktop standards instead of rolling our own.</div><div><br></div><div>Currently it would look like this, or you can add some syntax sugar to it:</div><div><br></div><div>#!/usr/bin/python</div><div>from gi.repository import Notify</div><div>Notify.init ("Hello world")</div><div>Hello=Notify.Notification.new ("Hello world","This is an example notification.","dialog-information")</div><div>Hello.show ()<br><br>El mié, 26 de mar 2014 a las 7:40 AM, Martin Abente <martin.abente.lahaye@gmail.com> escribió:<br>
<blockquote type="cite"><div dir="ltr">Hello Everyone,<div><br></div><div>We recently landed a messages notifications feature, based on Gary's designs [1]. One of our GCI 2013 hackers, Sam Parkinson, is has sent the bits to enable activities to send notifications too, as in Gary's design. </div>
<div><br></div><div>His work is almost done [2,3,4], but it introduces a new method to the base Activity class, therefore I wanted your opinions regarding the name of this method, the current options are [4]:</div><div><br>
</div><div>* send_notification</div><div>* add_notification<br></div><div>* shell_notify</div><div>* sugar_notify</div><div> </div><div><br></div><div>Thanks for your time!</div><div>tch.</div><div><br></div><div>Refs:</div>
<div>1. <a href="http://wiki.sugarlabs.org/go/Design_Team/Proposals/Notifications">http://wiki.sugarlabs.org/go/Design_Team/Proposals/Notifications</a><br><div>2. <a href="https://github.com/sugarlabs/sugar/pull/301">https://github.com/sugarlabs/sugar/pull/301</a></div>
<div>3. <a href="https://github.com/sugarlabs/sugar/pull/300">https://github.com/sugarlabs/sugar/pull/300</a></div></div><div>4. <a href="https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/114">https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/114</a></div>
</div>
</blockquote></div>