[Dextrose] Messages notification UI look and feel, request for help :)
Gonzalo Odiard
gonzalo at laptop.org
Mon Nov 8 12:56:09 EST 2010
Are you planing implement all from zero, or using the standard notification
system?
If I run this code in Gnome, have a notification, but in Sugar appear a icon
but without text.
import dbus
BUS_NAME = 'org.freedesktop.Notifications'
OBJ_PATH = '/org/freedesktop/Notifications'
IFACE_NAME = 'org.freedesktop.Notifications'
bus = dbus.SessionBus()
notify_obj = bus.get_object(BUS_NAME,OBJ_PATH)
notifications = dbus.Interface(notify_obj,IFACE_NAME)
notifications.Notify("HelloWorld",0,'',"Summary","Body",[],{},-1)
Gonzalo
On Mon, Nov 8, 2010 at 1:26 PM, Martin Abente <
martin.abente.lahaye at gmail.com> wrote:
>
>
> On Mon, Nov 8, 2010 at 12:45 PM, Walter Bender <walter.bender at gmail.com>wrote:
>
>> On Mon, Nov 8, 2010 at 10:22 AM, Martin Abente
>> <martin.abente.lahaye at gmail.com> wrote:
>> > Hey Eben :)
>> >
>> > I am currently working on a messages notification extensions for
>> dextrose
>> > (guess it will be hard to make it land on sugar main stream) but I was
>> > wondering if you could give me a hand with the UI design (mock-ups)?
>> >
>> > What we basically aim for is a simple message bubble (gnome-like) to
>> display
>> > messages like:
>> >
>> > * Your battery is running out.
>> > * Could not connect to GSM network.
>> > * Journal is almost full.
>> > * Datastore crashed unexpectedly.
>> > * Automatic backup is running.
>> > * Etc...
>> >
>>
>> Have you considered modeling your messages on the message system used
>> in Browse for downloads?
>>
>>
> I don't much about it, but I will take a look :). What i am currently
> thinking is just to extend the current frame notification system (the one
> being used for activities collaboration, clipboard, etc) to also support
> text message displaying.
>
>
>
>> -walter
>>
>> > As you see, there are basically 2 types of messages (more or less)
>> > Informative messages and Error messages. Also I will have to implement a
>> > messages manager so the users can simply browse through the last events
>> > (messages), and maybe add more extensions like action buttons, i,e:
>> > send-bug-report button, disable APM, stop-backup(?!, just random
>> examples).
>> >
>> > Would be great if you could help me with some UI design ideas :)
>> >
>> > Thanks,
>> > Martin (tch) Abente
>> >
>> > _______________________________________________
>> > Dextrose mailing list
>> > Dextrose at lists.sugarlabs.org
>> > http://lists.sugarlabs.org/listinfo/dextrose
>> >
>> >
>>
>>
>>
>> --
>> Walter Bender
>> Sugar Labs
>> http://www.sugarlabs.org
>>
>
>
> _______________________________________________
> Dextrose mailing list
> Dextrose at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/dextrose
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/dextrose/attachments/20101108/9b603682/attachment.html>
More information about the Dextrose
mailing list