Skip to content

Enable the use of AyatanaAppIndicator - #2200

Merged
Davidy22 merged 3 commits into
Guake:masterfrom
EbonJaeger:fix-appindicator-support
Oct 9, 2023
Merged

Enable the use of AyatanaAppIndicator#2200
Davidy22 merged 3 commits into
Guake:masterfrom
EbonJaeger:fix-appindicator-support

Conversation

@EbonJaeger

Copy link
Copy Markdown
Contributor

This uses the newer successor to AppIndicator3 for the tray icon implementation, with a fallback to the older AppIndicator3 if the Ayatana version is not found. AyatanaAppIndicator is backwards compatible with AppIndicator3, so the API remains the same. The icon is also fixed.

Tested on Solus 4.4 with Budgie Desktop 10.8.

Ref BuddiesOfBudgie/budgie-desktop#446
Fixes #433

This uses the newer successor to AppIndicator3 for the tray icon implementation, with a fallback to the older AppIndicator3 if the Ayatana version is not found. AyatanaAppIndicator is backwards compatible with AppIndicator3, so the API remains the same. The icon is also fixed.

Ref BuddiesOfBudgie/budgie-desktop#446
Fixes Guake#433

sem-ver: bug-fix

Signed-off-by: Evan Maddock <[email protected]>
@Davidy22

Davidy22 commented Oct 7, 2023

Copy link
Copy Markdown
Collaborator

Sorry about the delay, been a little buried. Couldn't reproduce, can't confirm for myself but if this works for you then it should be fine. CI is complaining about black, a passthrough of that should silence that and this'll be good to go.

Signed-off-by: Evan Maddock <[email protected]>
@EbonJaeger

Copy link
Copy Markdown
Contributor Author

No problem, I know the feeling, heh.

@Davidy22

Davidy22 commented Oct 8, 2023

Copy link
Copy Markdown
Collaborator

Linter's now objecting to the inline import. The pylint exclusion comments might need to be on the first line where the import keyword is, I think there should be a way for you to turn CI on with your fork so that you can get feedback from our checks faster. Locally, make check should also do it.

Signed-off-by: Evan Maddock <[email protected]>
@EbonJaeger

Copy link
Copy Markdown
Contributor Author

Hopefully this does it. Thanks for pointing out make check, I had overlooked it. Had to edit the .flake8 file to get it to actually work; newer versions of Flake appear to no longer allow inline comments in lists.

@Davidy22 Davidy22 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good, green checks on CI, merging.

@Davidy22
Davidy22 merged commit 4a97d19 into Guake:master Oct 9, 2023
@EbonJaeger
EbonJaeger deleted the fix-appindicator-support branch October 9, 2023 00:58
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.

Broken tray icon with Appindicators

2 participants