Skip to content

Files.IconInfo: Replace Gtk.IconInfo and Gdk.Pixbuf #2550

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

Draft
wants to merge 15 commits into
base: jeremypw/gtk4-skeleton
Choose a base branch
from

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Mar 14, 2025

This makes Files.IconInfo functional. Attempts to keep pixbufs failed as these cannot (at least easily) from ThemedIcons.
It was replaced with Gdk.Paintable which is an interface implemented by both IconPaintable and Texture. Images can readily be obtained from them in the same way as from pixbufs. It should be straightforward to use them with dynamic views although the cellrenderers used in the legacy views will need substantial changes.

@jeremypw jeremypw changed the title Files.IconInfo: Replace Gtk.IconInfo Files.IconInfo: Replace Gtk.IconInfo and Gdk.Pixbuf Mar 17, 2025
@jeremypw jeremypw marked this pull request as ready for review March 19, 2025 15:38
@jeremypw
Copy link
Collaborator Author

As this fixes CI it makes sense to consider this for merging into the skeleton first.

@jeremypw jeremypw mentioned this pull request Mar 19, 2025
3 tasks
@jeremypw jeremypw added Gtk4 Issues that involve Gtk4 code Status: Blocked Cannot proceed until another issue is fixed labels Jun 9, 2025
@jeremypw jeremypw added this to the 8.0.0 milestone Jun 13, 2025
@jeremypw jeremypw marked this pull request as draft June 14, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gtk4 Issues that involve Gtk4 code Status: Blocked Cannot proceed until another issue is fixed
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant