mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 10:15:20 +01:00
[PR #109] [MERGED] fix(tray): icons sometimes not showing #4709
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#4709
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/109
Author: @JakeStanger
Created: 4/16/2023
Status: ✅ Merged
Merged: 4/22/2023
Merged by: @JakeStanger
Base:
master← Head:fix/tray-icons📝 Commits (6)
a87d8d5fix(tray): icons sometimes not showing15a9d8dfix(script): parser incorrectly handling colons2463131Merge pull request #111 from JakeStanger/fix/script-parsing68bc823fix(tray): icons sometimes not showinge5ab9f3Merge remote-tracking branch 'origin/fix/tray-icons' into fix/tray-iconsb038e76fix(tray): icons sometimes not showing📊 Changes
2 files changed (+118 additions, -37 deletions)
View changed files
📝
src/modules/tray.rs(+54 -7)📝
src/script.rs(+64 -30)📄 Description
Previously icons were only loaded from the theme based on the provided icon name. Sometimes no icon name was provided, and sometimes the name is just missing from the theme.
This falls back to using the provided pixbuf, and then falls back to just displaying the name as text if that is not available.
(Hopefully) resolves #99
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.