Skip to content

Add checkbox support for Linux#181

Merged
joesis merged 2 commits intogetlantern:masterfrom
fbrinker:add-linux-checkboxes
Nov 18, 2020
Merged

Add checkbox support for Linux#181
joesis merged 2 commits intogetlantern:masterfrom
fbrinker:add-linux-checkboxes

Conversation

@fbrinker
Copy link

@fbrinker fbrinker commented Nov 14, 2020

Addresses #180

I had to implement a new method to decide if we want a checkbox or a normal menu item in Linux. Otherwise, all items would have ugly checkboxes.

To avoid introducing a breaking change, I've decided to add a new method. OSX and Windows users can use the new method too, for a cleaner interface, but without any difference. In a new major version, we could make only checkbox menu items (un)checkable. But that would be a breaking change of course. :)

What do you think?

Screen-Capture_select-area_20201114175924.png

@fbrinker fbrinker changed the title Add checkbox support for Linux #180 Add checkbox support for Linux Nov 14, 2020
@fbrinker fbrinker force-pushed the add-linux-checkboxes branch from d4526bf to a39295e Compare November 14, 2020 17:54
@fbrinker fbrinker force-pushed the add-linux-checkboxes branch from a39295e to 48b2241 Compare November 14, 2020 22:37
@fbrinker
Copy link
Author

I've had to add a small fix to block Uncheck/Check triggering an endless loop, when called from another menu item

@joesis joesis merged commit 5f409f9 into getlantern:master Nov 18, 2020
@fbrinker fbrinker deleted the add-linux-checkboxes branch November 18, 2020 09:38
@getlantern getlantern deleted a comment from joesis Mar 1, 2021
ropog3ovomou pushed a commit to ropog3ovomou/systray that referenced this pull request Jul 13, 2022
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.

2 participants