Re: [PATCH] desktop entry spec: Add "UsesNotifications" key

2015-02-17 Thread Bastien Nocera
On Tue, 2015-02-17 at 10:13 +0100, Sanel Zukan wrote:
> Hi,
> 
> Ryan Lortie  writes:
> > org.freedesktop.Notifications is
> > https://developer.gnome.org/notification-spec/ (for which the canonical
> > version is apparently in Jon's homedir -- the one you link above).  I've
> > never had any involvement at all with this spec.
> 
> I'm curious, why this spec isn't hosted and listed at
> http://www.freedesktop.org/wiki/Specifications?

Because fd.o admin isn't responsive enough when there are problems.
Which happens often with the specs. And because it was always hosted
within libnotify.

___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: [PATCH] desktop entry spec: Add "UsesNotifications" key

2015-02-17 Thread Sanel Zukan
Hi,

Ryan Lortie  writes:
> org.freedesktop.Notifications is
> https://developer.gnome.org/notification-spec/ (for which the canonical
> version is apparently in Jon's homedir -- the one you link above).  I've
> never had any involvement at all with this spec.

I'm curious, why this spec isn't hosted and listed at
http://www.freedesktop.org/wiki/Specifications?

Best.
___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: [PATCH] desktop entry spec: Add "UsesNotifications" key

2015-02-16 Thread Bastien Nocera
On Wed, 2015-02-04 at 06:39 -0500, Ryan Lortie wrote:
> hi,
> 
> On Wed, Feb 4, 2015, at 06:21, Bastien Nocera wrote:
> > Huh? Are we talking about the same spec[1] that already exists and you
> > implemented, and that we're discussing on xdg@lists.freedesktop.org?
> > [1]:
> > https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html
> 
> Yes and no.  The linked spec is not the one that I that I had any
> involvement in at all.
> 
> The one that we created recently is not (yet) a freedesktop spec.  It
> uses org.gtk.Notifications.
> 
> org.freedesktop.Notifications is
> https://developer.gnome.org/notification-spec/ (for which the canonical
> version is apparently in Jon's homedir -- the one you link above).  I've
> never had any involvement at all with this spec.

The canonical version is in libnotify's git tree:
https://git.gnome.org/browse/libnotify/tree/docs/notification-spec.xml

> GNotification will use one or the other, depending on what is
> implemented by the system.

___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: [PATCH] desktop entry spec: Add "UsesNotifications" key

2015-02-04 Thread Bastien Nocera
On Wed, 2015-02-04 at 06:39 -0500, Ryan Lortie wrote:
> hi,
> 
> On Wed, Feb 4, 2015, at 06:21, Bastien Nocera wrote:
> > Huh? Are we talking about the same spec[1] that already exists and you
> > implemented, and that we're discussing on xdg@lists.freedesktop.org?
> > [1]:
> > https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html
> 
> Yes and no.  The linked spec is not the one that I that I had any
> involvement in at all.
> 
> The one that we created recently is not (yet) a freedesktop spec.  It
> uses org.gtk.Notifications.
> 
> org.freedesktop.Notifications is
> https://developer.gnome.org/notification-spec/ (for which the canonical
> version is apparently in Jon's homedir -- the one you link above).  I've
> never had any involvement at all with this spec.
> 
> GNotification will use one or the other, depending on what is
> implemented by the system.

Right, I've asked for the source of Jon's version, there are a few more
things we want to add to this (badges being one of them).

Cheers

___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: [PATCH] desktop entry spec: Add "UsesNotifications" key

2015-02-04 Thread Ryan Lortie
hi,

On Wed, Feb 4, 2015, at 06:21, Bastien Nocera wrote:
> Huh? Are we talking about the same spec[1] that already exists and you
> implemented, and that we're discussing on xdg@lists.freedesktop.org?
> [1]:
> https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html

Yes and no.  The linked spec is not the one that I that I had any
involvement in at all.

The one that we created recently is not (yet) a freedesktop spec.  It
uses org.gtk.Notifications.

org.freedesktop.Notifications is
https://developer.gnome.org/notification-spec/ (for which the canonical
version is apparently in Jon's homedir -- the one you link above).  I've
never had any involvement at all with this spec.

GNotification will use one or the other, depending on what is
implemented by the system.

Cheers
___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: [PATCH] desktop entry spec: Add "UsesNotifications" key

2015-02-04 Thread Bastien Nocera
On Wed, 2015-02-04 at 06:16 -0500, Ryan Lortie wrote:
> hi,
> 
> On Wed, Feb 4, 2015, at 05:40, Bastien Nocera wrote:
> > Sure, org.freedesktop.Notifications then?
> 
> I don't really have very much opinion on the various notification specs,
> so I can't really say anything except this:  I wouldn't crash on their
> namespace without asking them first.

Huh? Are we talking about the same spec[1] that already exists and you
implemented, and that we're discussing on xdg@lists.freedesktop.org?

[1]: 
https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html

___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: [PATCH] desktop entry spec: Add "UsesNotifications" key

2015-02-04 Thread Ryan Lortie
On Wed, Feb 4, 2015, at 06:16, Ryan Lortie wrote:
> hi,
> 
> On Wed, Feb 4, 2015, at 05:40, Bastien Nocera wrote:
> > Sure, org.freedesktop.Notifications then?
> 
> I don't really have very much opinion on the various notification specs,
> so I can't really say anything except this:  I wouldn't crash on their
> namespace without asking them first.

One more point: the choice of name seems odd.  The (completely optional)
official recommendation in the spec is "the interface name should
correspond to a D-Bus interface that the application exports...".  This
is an optional recommendation, and there is no need to actually export
that interface, but the fact that this interface exists elsewhere (on
the server side) suggests to me that it might be a particularly poor
choice of name.

org.freedesktop.Notifications.Sender or something?

But ya -- above all else, ask the notifications guys.

Cheers
___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: [PATCH] desktop entry spec: Add "UsesNotifications" key

2015-02-04 Thread Ryan Lortie
hi,

On Wed, Feb 4, 2015, at 05:40, Bastien Nocera wrote:
> Sure, org.freedesktop.Notifications then?

I don't really have very much opinion on the various notification specs,
so I can't really say anything except this:  I wouldn't crash on their
namespace without asking them first.

Cheers
___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: [PATCH] desktop entry spec: Add "UsesNotifications" key

2015-02-04 Thread Bastien Nocera
On Wed, 2015-02-04 at 05:39 -0500, Ryan Lortie wrote:
> hi Bastien,
> 
> On Wed, Feb 4, 2015, at 05:23, Bastien Nocera wrote:
> > +Whether the program makes use of desktop notifications. This
> > is used to pre-populate
> > +notification configuration interfaces.
> 
> I don't agree with this patch.
> 
> If you want to do this, please invent an interface name and use
> Implements=.  It was invented precisely for this sort of thing.  That
> way you can even use g_desktop_app_info_get_implementations() to list
> off all the apps in question.

Sure, org.freedesktop.Notifications then?

___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: [PATCH] desktop entry spec: Add "UsesNotifications" key

2015-02-04 Thread Ryan Lortie
hi Bastien,

On Wed, Feb 4, 2015, at 05:23, Bastien Nocera wrote:
> +Whether the program makes use of desktop notifications. This
> is used to pre-populate
> +notification configuration interfaces.

I don't agree with this patch.

If you want to do this, please invent an interface name and use
Implements=.  It was invented precisely for this sort of thing.  That
way you can even use g_desktop_app_info_get_implementations() to list
off all the apps in question.

Cheers
___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


[PATCH] desktop entry spec: Add "UsesNotifications" key

2015-02-04 Thread Bastien Nocera
---
 desktop-entry/desktop-entry-spec.xml | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/desktop-entry/desktop-entry-spec.xml 
b/desktop-entry/desktop-entry-spec.xml
index 36997c0..aef43e0 100644
--- a/desktop-entry/desktop-entry-spec.xml
+++ b/desktop-entry/desktop-entry-spec.xml
@@ -567,6 +567,16 @@
boolean
NO
 1
+  
+ 
+   UsesNotifications
+   
+Whether the program makes use of desktop notifications. This is 
used to pre-populate
+notification configuration interfaces.
+   
+   boolean
+   NO
+1
  
  
Actions
-- 
2.1.0


___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg