[PR #1215] [MERGED] fix(gtk4): set display on icon theme (fixes #1213) #6851

Closed
opened 2026-05-23 01:57:18 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/1215
Author: @azertyfun
Created: 10/23/2025
Status: Merged
Merged: 10/23/2025
Merged by: @JakeStanger

Base: masterHead: fix/icon-theme-display


📝 Commits (1)

  • 7d9022d fix(gtk4): set display on icon theme (fixes #1213)

📊 Changes

1 file changed (+7 additions, -3 deletions)

View changed files

📝 src/image/provider.rs (+7 -3)

📄 Description

You might think that IconTheme::for_display would make more sense. Unfortunately per GTK3 docs:

This function cannot be called on the icon theme objects returned from gtk_icon_theme_get_for_display()

https://docs.gtk.org/gtk4/method.IconTheme.set_theme_name.html

Fixes #1213


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/1215 **Author:** [@azertyfun](https://github.com/azertyfun) **Created:** 10/23/2025 **Status:** ✅ Merged **Merged:** 10/23/2025 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `fix/icon-theme-display` --- ### 📝 Commits (1) - [`7d9022d`](https://github.com/JakeStanger/ironbar/commit/7d9022d2061c6453fed9e1ced1f1d428435bcdc6) fix(gtk4): set display on icon theme (fixes #1213) ### 📊 Changes **1 file changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/image/provider.rs` (+7 -3) </details> ### 📄 Description You might think that `IconTheme::for_display` would make more sense. Unfortunately per GTK3 docs: > This function cannot be called on the icon theme objects returned from gtk_icon_theme_get_for_display() https://docs.gtk.org/gtk4/method.IconTheme.set_theme_name.html Fixes #1213 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 01:57:18 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#6851
No description provided.