← Back to team overview

elementary-dev-community team mailing list archive

Re: Questions about the use of the bluetooth indicator


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 <gotwig@xxxxxxxxxx> wrote:
> Ok, so why don't the others use this concept? Becouse we've our life on
> 2012/10/14 Robert Ancell <robert.ancell@xxxxxxxxx>
>> On 14 October 2012 22:12, Eduard Gotwig <gotwig@xxxxxxxxxx> 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.

Follow ups