mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 11:15:20 +01:00
[PR #360] [MERGED] Re-use existing IconTheme during icon retrieval #9089
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#9089
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/JakeStanger/ironbar/pull/360
Author: @chmanie
Created: 11/15/2023
Status: ✅ Merged
Merged: 12/3/2023
Merged by: @JakeStanger
Base:
master← Head:fix/tray-icon-themes📝 Commits (1)
5f82b6efix(tray): existing icons rendering as text📊 Changes
1 file changed (+43 additions, -14 deletions)
View changed files
📝
src/modules/tray.rs(+43 -14)📄 Description
Hey, thank you for starting this great project! This bar works just wonderfully for me.
This PR is an attempted fix for this one thing I noticed here (#358). The bar wasn't showing any icons from my icon theme, whereas the gtk example from stray worked for me.
I am no GTK expert at all, so I just compared the code. Apparently, it's important to re-use an initialized IconTheme after it was initially created (maybe it's a singleton?).
In any case, this fixes it for me. Let me know if that's an acceptable change or if I need to dig deeper here :)
Thanks again!
Closes #358
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.