Re: NotificationSource GnomeGoal




On 21/12/12 06:05, Sriram Ramkrishna wrote:



On Thu, Dec 20, 2012 at 3:30 PM, Giovanni Campagna <scampa giovanni gmail com <mailto:scampa giovanni gmail com>> wrote:


    On the other hand, the interesting part here is static application
    registration. Lacking any better idea, this is implemented by looking
    at the desktop file for a boolean key called
    "X-GNOME-UsesNotifications".
    Therefore, I updated the GnomeGoal mentioned in the subject ([1]). If
    you develop an application that uses libnotify, please add
    X-GNOME-UsesNotifications to the desktop file.


I assume this feature is really about implementing this:
https://live.gnome.org/Design/SystemSettings/Notifications

Is that right?

    At the same time, you need to make sure that the application is
    correctly associated with its stored policy. As I said above, for
    regular apps this requires no changes. By regular I mean: sending
    notifications from the same process, having a desktop file that is
    tracked via WM_CLASS by the shell and having at least one visible
    window when the notification is send. If any of those conditions may
    not be satisfied, you must set the 'desktop-entry' hint to the
    basename of you desktop file, without the final '.desktop'.


I'm not sure I understand this instruction.. Is this in the code or somewhere else?


    Hope you are not too angry with me for the new work, and enjoy the
    new feature!


This is great!  However, I do have a question.  Why does the link:
https://live.gnome.org/GnomeGoals/NotificationSource

have this message:

This is only a proposal at this time, and not approved for project-wide application. *This should not be applied before being officially turned into a GNOME Goal!


*
in a red banner? I assume that it is in fact an approved GNOME Goal? :-) Just wondering..
This is really just to confuse people ^^.

sri


_______________________________________________
desktop-devel-list mailing list
desktop-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/desktop-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]