Re: Sending notification

2011-05-24 Thread Giovanni Campagna
Il giorno mar, 24/05/2011 alle 13.12 -0400, Erick Pérez ha scritto: Hi: I want to know from the gnome-shell maintainers/developers Which is the preferred way of sending notifications in gnome-shell ? I can think of more than one, And some been hard than others to implement but, and

Re: Sending notification

2011-05-24 Thread Erick Pérez
What do you mean? From an extension: For short lived message, use let source = new MessageTray.SystemNotificationSource(); let notification = new MessageTray.Notification(source, Title, Content, { body: Additional content that won't be shown in the banner }); source.notify(notification);

Re: Sending notification

2011-05-24 Thread Giovanni Campagna
Il giorno mar, 24/05/2011 alle 13.41 -0400, Erick Pérez ha scritto: What do you mean? From an extension: For short lived message, use let source = new MessageTray.SystemNotificationSource(); let notification = new MessageTray.Notification(source, Title, Content, { body: Additional

Re: Sending notification

2011-05-24 Thread Erick Pérez
Now I have this problem: I manage to create a Source and a new Notification subclass to add a pair of buttons to the notification, One for Closing and one for doing something else. 1. When the user don't interact with the first notification, the notification stays in the notification bar, and