Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 alpha linux dbus #2996

Merged
merged 5 commits into from
Oct 21, 2023
Merged

V3 alpha linux dbus #2996

merged 5 commits into from
Oct 21, 2023

Conversation

tmclane
Copy link
Member

@tmclane tmclane commented Oct 20, 2023

Description

Implements Linux System tray support using DBUS interaction. Heavily inspired / borrowed from Fyne's systray.

There is one small change I did to add an id value for menu separator items. I don't believe this will cause any issues on the other platforms but I haven't had a chance to test it yet.

This is needed in order to have a unique value for all
menuItem(s) such that the Linux implementation doesn't have to
generate new identifiers.
Allowing the reuse keeps a 1-1 mapping in place without any extra effort.
Can only seem to get the `SecondaryActivate` to fire when doing a
3-finger click!  I was expecting a right-click interaction to trigger it.
@tmclane tmclane added the v3 label Oct 20, 2023
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6460747
Status: ✅  Deploy successful!
Preview URL: https://dcef08d7.wails.pages.dev
Branch Preview URL: https://v3-alpha-linux-dbus.wails.pages.dev

View logs

@leaanthony leaanthony changed the base branch from master to v3-alpha October 21, 2023 00:26
@leaanthony leaanthony merged commit 18746c7 into v3-alpha Oct 21, 2023
3 checks passed
@leaanthony leaanthony deleted the v3-alpha-linux-dbus branch October 21, 2023 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants