[Sugar-devel] Widget to show a notification message with a link
gus.duarte at gmail.com
Fri Dec 5 11:35:00 EST 2014
Do you remember, if is there a thread where it addition was discussed ?
Or do you suggest me a start point to achieve that ?
On Fri, Dec 5, 2014 at 1:27 PM, Gonzalo Odiard <godiard at sugarlabs.org> wrote:
> I think the firs option is the best. That addition was discussed a few times
> but never implemented in Sugar.
> Please share your code then can be added in the next version of Sugar.
> On Fri, Dec 5, 2014 at 11:54 AM, Gustavo Duarte <gus.duarte at gmail.com>
>> Hi Guys,
>> I need build an app, which shows a message to kids with some text and
>> one link which could be opened by Browser activity, like a
>> I know that already exist a way, to show notifications which will be
>> placed on the top bar, by dbus, "org.freedesktop.Notifications",
>> however it doesn't work for because, when I did a click on the link
>> the Browser activity isn't opened.
>> icon = None
>> bus = dbus.SessionBus()
>> notify_obj = bus.get_object(DBUS_NAME,OBJ_PATH)
>> notifications.Notify("",0,icon,'Title',"www.google.com",, hints
>> I think, may be, I have tow options,
>> 1) Add a kind of event, on the notification widget, to recognise the
>> click and open the Browser activity.
>> 2) Make another type of widget, like a Dialog, where ca be easier add
>> an event click to open the Browser.
>> What is your opinion ? Are there other obvious options, that I'm can't
>> seeing ?
>> Thanks in advance.
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
> Gonzalo Odiard
> SugarLabs - Software for children learning
More information about the Sugar-devel