Closed fjsevilla-dev closed 2 years ago
No idea why the PPC64LE CI is failing with npm ERR! request to https://registry.npmjs.org/eslint failed, reason: connect ENETUNREACH 2606:4700::6810:1023:443
. Don't think this has anything to do with the current PR.
No idea why the PPC64LE CI is failing with
npm ERR! request to https://registry.npmjs.org/eslint failed, reason: connect ENETUNREACH 2606:4700::6810:1023:443
. Don't think this has anything to do with the current PR.
Yes, I think so too.It seems to have more to do with Travis itself and npm install
, but I don't know... Maybe simply triggering a rebuild will solve the problem?
No idea why the PPC64LE CI is failing with
npm ERR! request to https://registry.npmjs.org/eslint failed, reason: connect ENETUNREACH 2606:4700::6810:1023:443
. Don't think this has anything to do with the current PR.Yes, I think so too.It seems to have more to do with Travis itself and
npm install
, but I don't know... Maybe simply triggering a rebuild will solve the problem?
I tried, .. let me remove that ppc64le target in a PR.
@fjsevilla-dev ok, I have ppc64
with arm64
. Could you rebase this PR on top of master
?
Looks like Travis is still unhappy... Now nvm install node
for ARM64 fails :(
https://app.travis-ci.com/github/gicmo/gamemode-extension/jobs/547938827
Restarted CI, fixed it! Thanks so much!
The only problem that seems to prevent the extension from working in Gnome 40 / 41 with GTK 4 is the use of the
Gtk.Box.margin
property (inherited fromGtk.Witdget
and removed in GTK 4). The simplest solution is to fall back to the newmargin-x
properties.On the other hand, when replacing
pack_start
byappend
we lose thepadding
argument, so the colour picker button appears stuck to the switch. Usingmargin-start
andmargin-end
in the child widget is simple to emulate the above behaviour.In principle this should fix the bug reported in Gnome 40 (GTK 4) and allow the extension to work seamlessly with gnome-shell 41.
I tested this changes on Gnome-Shell 41.1 (GTK 4.4.1, GJS 1.70.0).
Fixes #45, fixes #44