Skip to content

[WIP] Added tray kind detection through dbus - #12743

Closed
cromefire wants to merge 1 commit into
electron:masterfrom
cromefire:master
Closed

cromefire wants to merge 1 commit into
electron:masterfrom
cromefire:master

Conversation

@cromefire

Copy link
Copy Markdown

dbus-native is still missing and I'm not sure whether electron hasn't an own dbus library.

At this point not yet able to merge!

@cromefire
cromefire requested a review from a team April 28, 2018 13:10
@cromefire cromefire changed the title Added tray kind detection through dbus [WIP] Added tray kind detection through dbus Apr 28, 2018
@cromefire

Copy link
Copy Markdown
Author

I don't think I can get the dbus thing to work by my self.

@cromefire

Copy link
Copy Markdown
Author

Build errors shouldn't have anything to do with my changes as their errors are handled

@ckerr ckerr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

electron does not have its own dbus library, but it does require gtk+ via electron, so it makes sense for electron to be using gio for dbus

@cromefire

Copy link
Copy Markdown
Author

Is there an code, which uses that, I'm not much developing neither nodejs nor electron itself and I need at least an example.

@ckerr

ckerr commented May 2, 2018

Copy link
Copy Markdown
Member

An example of using dbus in Electron? Yep, check out the power observer code in atom/browser/lib/power_observer_linux.{cc,h}

@cromefire

Copy link
Copy Markdown
Author

Well that seems like c/c++, I need this in Javascript and I'm not enough into node to accomplish interop.

@cromefire

Copy link
Copy Markdown
Author

So is there any way to call into gio from JavaScript?

@ckerr

ckerr commented Sep 15, 2018

Copy link
Copy Markdown
Member

Closing stale PR.

No judgement intended. If this PR was closed in error, please ask a maintainer to reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants