Re: [Bug 687958] Re: should provide an IsUnityRunning() dbus method

2011-01-05 Thread Mikkel Kamstrup Erlandsen
For reference: The relevant DBus method is org.freedesktop.DBus.NameHasOwner(in s name) -> out b has_owner -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/687958 Title: should provide an IsUnityRunni

[Bug 687958] Re: should provide an IsUnityRunning() dbus method

2011-01-05 Thread Didier Roche
I didn't know that one, ok, make sense then :) Thanks guys! ** Changed in: unity (Ubuntu) Status: Triaged => Invalid ** Changed in: unity Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. htt

Re: [Bug 687958] Re: should provide an IsUnityRunning() dbus method

2011-01-05 Thread Mikkel Kamstrup Erlandsen
Completely agree with Alex. Check if com.canonical.Unity is owned. If this doesn't work for some reason, then that's the thing we need to fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/687958 Titl

[Bug 687958] Re: should provide an IsUnityRunning() dbus method

2011-01-04 Thread Alex Launi
@Didier, you are thinking of com.canonical.Unity.Panel.Service, not com.canonical.Unity. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/687958 Title: should provide an IsUnityRunning() dbus method -

[Bug 687958] Re: should provide an IsUnityRunning() dbus method

2011-01-04 Thread Alex Launi
I don't understand why checking if com.canonical.Unity is owned doesn't work. That name is *not* owned by the Unity panel service. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/687958 Title: should

[Bug 687958] Re: should provide an IsUnityRunning() dbus method

2010-12-13 Thread Paul Sladen
Perhaps you actually want something like isInitialised() or isReady()... this would cope with start-up delays, possibly crashes (yes, these happen). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/687958

[Bug 687958] Re: should provide an IsUnityRunning() dbus method

2010-12-13 Thread Didier Roche
Indeed, that doesn't work, the name is owned by the unity-panel-service IIRC. This doesn't mean that the graphic display is there (for instance, if you do disable it after launching it in ccsm, or metacity --replace, or if it crashes…) So the method should be answered by the panel, not the service

[Bug 687958] Re: should provide an IsUnityRunning() dbus method

2010-12-13 Thread Sebastien Bacher
Not sure, I think Didier had concerns about that, Didier? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/687958 Title: should provide an IsUnityRunning() dbus method -- ubuntu-bugs mailing list ubu

[Bug 687958] Re: should provide an IsUnityRunning() dbus method

2010-12-13 Thread Michael Terry
You don't need an actual dbus function call for this, do you? Just check if the name 'com.canonical.Unity' is owned. ** Changed in: unity Status: In Progress => Incomplete ** Changed in: unity Assignee: Michael Terry (mterry) => (unassigned) -- You received this bug notification be

[Bug 687958] Re: should provide an IsUnityRunning() dbus method

2010-12-13 Thread Michael Terry
** Changed in: unity Status: Triaged => In Progress ** Changed in: unity Assignee: (unassigned) => Michael Terry (mterry) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/687958 Title: sho

[Bug 687958] Re: should provide an IsUnityRunning() dbus method

2010-12-09 Thread Didier Roche
Note that it should be in the panel itself, not the service as the service can live even it unity panel crashed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/687958 Title: should provide an IsUnity

[Bug 687958] Re: should provide an IsUnityRunning() dbus method

2010-12-09 Thread Didier Roche
definitively needed, right. ** Changed in: unity Status: New => Triaged ** Changed in: unity (Ubuntu) Status: New => Triaged ** Changed in: unity Importance: Undecided => Medium ** Changed in: unity (Ubuntu) Importance: Undecided => Medium ** Tags added: bitesize -- You r