poljarinho at gmail.com
Tue Nov 26 13:51:14 PST 2013
On Tue, Nov 26, 2013 at 10:25:29PM +0100, David Henningsson wrote:
> On 11/26/2013 06:47 PM, Damir Jelić wrote:
> > On Tue, Nov 26, 2013 at 11:39:42AM +0100, David Henningsson wrote:
> >> Hi,
> >> I talked to Tanu and Arun last week about my what-did-you-plugin-dialog,
> >> and got some push back about my way of popping up the dialog.
> >> So, instead, what do you think of this solution - does this provide a
> >> good separation between PulseAudio and the GUI process:
> >> * The dialog will be popped up through DBus activation. We define some
> >> DBus name, e g org.pulseaudio.WhatDidYouPlugIn - and when accessing this
> >> name, the process will be started by DBus.
> >> * There will be DBus methods for popping up and killing the dialog, and
> >> a signal back when the user selects something in the dialog (or cancels it).
> >> Second, we will create a new pulseaudio sub-project, pa_popup_dialogs or
> >> something. This will contain the current dialog (it's designed by
> >> Canonical, but it's nothing Ubuntu specific about it), and our
> >> recommended solution by upstream. If gnome, kde, or some other DE wants
> >> to write their own themed dialog, they will just install their own
> >> solution instead, which we will communicate with through the
> >> org.pulseaudio.WhatDidYouPlugIn name/interface. (I have some test code
> >> using zenity too, but that will be dropped.)
> >> Thankful for a quick ack/nak on this.
> > Hi David.
> > Did you take a look at the "Desktop Notifications Specification". It
> > seems to somewhat overlap with your idea.
> Yes, and ruled it out due to the following reasons:
> 1) The GSoC project that implemented this specification was never merged.
I'm not sure if the GSoC project implemented this spec but that would be
another reason to use the code already provided and merge the GSoC
> 2) Unity, Ubuntu's standard shell, does not support the dialog part of
> the spec. (It is possible that the GSoC project dealt with this somehow,
> not sure.)
The GSoC project has support for AppIndicator (this is used in
Unity, right?), so another reason to reuse it.
More information about the pulseaudio-discuss