Re: [Elementary-dev-community] Questions about the use of the bluetooth indicator

2012-10-20 Thread Sergey Shnatsel Davidoff
2012/10/14 Robert Ancell robert.anc...@gmail.com 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. In Ubuntu checking XDG_CURRENT_DESKTOP environment variable is sufficient. That's what powers OnlyShowIn= and

[Elementary-dev-community] Questions about the use of the bluetooth indicator

2012-10-14 Thread Robert Ancell
Hi, Am I right in that Elementary uses the same Bluetooth indicator as Ubuntu via wingpanel? For Ubuntu 13.04 I'm working on a new indicator-bluetooth [1] native indicator to replace the GNOME2 panel applet that is currently used. The new indicator will be much the same

Re: [Elementary-dev-community] Questions about the use of the bluetooth indicator

2012-10-14 Thread Cody Garver
Yes, we are using the same indicator as Ubuntu. We are currently attempting to patch outhttps://code.launchpad.net/~elementary-os/elementaryos/os-patch-gnome-bluetooth-precisethe Bluetooth Settings... link because it opens Gnome Control Center, which we are dropping. I don't think we have yet

Re: [Elementary-dev-community] Questions about the use of the bluetooth indicator

2012-10-14 Thread Robert Ancell
Oh, not sure if I was clear - the new indicator is part of the existing Unity indicator set so is being designed by the Ubuntu design team. I just want to make sure it works well in both desktops. It is in Vala but uses autotools. --Robert On 14 October 2012 20:43, Cody Garver

Re: [Elementary-dev-community] Questions about the use of the bluetooth indicator

2012-10-14 Thread Cody Garver
Here's the relevant documentationhttp://elementaryos.org/docs/apis/switchboard/plugs/plug-fileand commithttp://bazaar.launchpad.net/~elementary-pantheon/switchboard/switchboard/revision/225about launching a plug externally. And here's the bug https://bugs.launchpad.net/switchboard/+bug/921644

Re: [Elementary-dev-community] Questions about the use of the bluetooth indicator

2012-10-14 Thread Robert Ancell
On 14 October 2012 22:12, Eduard Gotwig got...@ubuntu.com 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

Re: [Elementary-dev-community] Questions about the use of the bluetooth indicator

2012-10-14 Thread Daniel Fore
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

Re: [Elementary-dev-community] Questions about the use of the bluetooth indicator

2012-10-14 Thread Robert Ancell
On 15 October 2012 04:36, Daniel Fore dan...@elementaryos.org wrote: No Bake Robert? ;p Not this time :) -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community