Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a quick draft to make things compatible with gnome shell 42.9.
Note that this is my first time touching gnome extensions and I have very limited know how - please use this PR with caution.
I simply debugged the thing until it was working with my version of GNOME Shell. No idea which versions are actually compatible. But you can easily modify the
metadata.json
and add other GNOME Shell versions and test it there.What I had to do to get it working again:
GObject.registerClass()
function and use ES 6 class instead of an object for the indicator. I'm not entirely sure why this is necessary, I basically guessed it from the error message and a comparison to a working extension which I created from a template using the gnome-extensions-tool by runninggnome-extensions create --interactive
and choosing "indicator" as template. There are also some hints regarding migrating shell classes here.let
wherever necessary.prefs.xml
: I simply followed the error messages and got some inspiration by runninggtk4-builder-tool simplify --3to4 prefs.xml
- but the automatically converted xml did not show any dialog - just the empty window. Basicallymargin
andGtkVBox
has been removed as far as I understand.Thanks to @petres for the help! 💜
This may fix #7.