-
Notifications
You must be signed in to change notification settings - Fork 4
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
libappindicator support #17
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of adding an additional parameter, i suggest we replace parameter byte [] imageData
by URI imageUri
. This way, implementations or specifications do not need to handle the case, if both parameters are set to non-null values.
URI's support direct data transportation via the data
scheme, file paths can be specified by the file
scheme, and depending on the implementation, other schemes (even custom ones, e.g. freedesktop
) can be supported too.
I'm not sure about this suggestion. Adding parameters is backwards compatible, replacing them is not. Furthermore, |
I stand corrected, |
This reverts commit 3e53d06.
It does work and there wasn't too much additional code necessary. You'll find the change here. |
@purejava Thanks for picking up this topic. An new version of integrations-api will be released today. Due to the breaking api, it will be a major bump, namely 2.0.0 |
@infeo Thanks for merging my PR. I left you a private message on Slack regarding the question, whether the required changes for the Cryptomator code should be based on Java 19 or on Java 20. |
After this discussion, I believe we need to reevaluate this change. The attempt to kill two birds with one stone with the introduction of URIs for both binary data ( So in my opinion the original proposal (3e53d06) is actually preferrable. It is not a breaking change, so we can continue publishing 1.x releases and instead adds an alternative icon name, which can be used to locate an icon. It is of course debatable, whether this is the best approach in regards of further additions. |
Since this API is an |
No description provided.