← Back to team overview

elementary-dev-community team mailing list archive

Re: Questions about the use of the bluetooth indicator


Looks like we have MPT and Robert Ancell on this one. That makes me feel good haha.

No Bake Robert? ;p

If we had a reliable way to detect the session that would be pretty cool. For now, none of our indicators link to Switchboard though, so I don't think it'd be too terrible to just not show a link if GCC isn't around until we figure out how we can do this.

On Sun, Oct 14, 2012 at 2:31 AM, Robert Ancell <robert.ancell@xxxxxxxxx> wrote:
I don't think there's a (easy) reliable method of detecting what 
session you are inside. But it's worth seeing if it can be done. 

On 14 October 2012 22:24, Eduard Gotwig wrote: 
> Ok, so why don't the others use this concept? Becouse we've our life on 
> GNOME? :D 
> 2012/10/14 Robert Ancell 
>> On 14 October 2012 22:12, Eduard Gotwig wrote: 
>> > +Robert Ancell: I think it would be great, if indicators would be 
>> > intelligent enough, to just don't show the entry to the gnome control 
>> > center, if its not properly installed. Just saying... 
>> The gnome-bluetooth one does that actually, but it does it by checking 
>> if 'gnome-control-center' is in the path. I'll at least match that 
>> behaviour but it would probably be better if it detected what type of 
>> session it is running inside (i.e. got the XDG session name) and did 
>> the behaviour based on that. Otherwise installing gnome-control-center 
>> in elementary would (incorrectly) adjust the behaviour of the 
>> indicator. 

Mailing list: https://launchpad.net/~elementary-dev-community 
Post to : elementary-dev-community@xxxxxxxxxxxxxxxxxxx 
Unsubscribe : https://launchpad.net/~elementary-dev-community 
More help : https://help.launchpad.net/ListHelp 

Follow ups