Skip to content

Conversation

@egalvis27
Copy link

What is Changed / Added


  • Pin Nautilus and Gtk version to 4.0

Why

Fix: Specify Nautilus 4.0 version requirement for extension compatibility

The Nautilus extension uses APIs specific to Nautilus/Gtk 4.0 for context menu items (make available offline/online) and file availability icons. Without explicit version specification, the extension could:

  • Generate PyGIWarning messages in system logs
  • Load incompatible API versions causing runtime errors
  • Fail silently on systems with multiple Nautilus versions installed

This change explicitly requires Nautilus 4.0 and Gtk 4.0, ensuring consistent behavior and following PyGObject best practices. The extension will now fail fast with a clear error message on incompatible systems instead of loading with broken functionality.

Compatibility: Ubuntu 22.04+ / Debian 12+ (Ubuntu 20.04 LTS ended standard support in April 2025)

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 3, 2026

@egalvis27 egalvis27 merged commit 852f325 into main Feb 4, 2026
9 checks passed
@egalvis27 egalvis27 deleted the feat/pin-nautilus-gtk-version branch February 4, 2026 17:03
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.

2 participants