Skip to content

fix: GNOME 50 compatibility with Libsoup 3 API - #29

Open
seyhankokcu wants to merge 2 commits into
Haletran:mainfrom
seyhankokcu:fix/gnome-50-compat
Open

fix: GNOME 50 compatibility with Libsoup 3 API#29
seyhankokcu wants to merge 2 commits into
Haletran:mainfrom
seyhankokcu:fix/gnome-50-compat

Conversation

@seyhankokcu

Copy link
Copy Markdown

Summary

  • Add "50" to shell-version in metadata.json so the extension loads on GNOME Shell 50
  • Replace message.request_headers.append() with message.get_request_headers().append() — the direct property access crashes on Libsoup 3 (used in GNOME 45+)
  • Fix prefs.js import path: resource:///org/gnome/Shell/Extensions/js/extensions/prefs.jsresource:///org/gnome/shell/extensions/prefs.js (case-sensitive path fix for GNOME 45+ module resolution)

Test

Tested on GNOME Shell 50.1 — extension loads, usage data displays correctly, settings window opens without errors.

Closes #27, #19

- Add GNOME Shell 50 to supported shell-version in metadata.json
- Replace message.request_headers with message.get_request_headers() for Libsoup 3
- Fix prefs.js import path casing for GNOME 45+ module resolution
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.

Compatibility fixes for GNOME 45-50 and Libsoup 3

1 participant