mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 12:15:22 +01:00
[PR #983] [MERGED] fix(bindmode): hide bindmode label if it's empty #9504
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#9504
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/983
Author: @postsolar
Created: 5/16/2025
Status: ✅ Merged
Merged: 5/18/2025
Merged by: @JakeStanger
Base:
master← Head:hide-empty-bindmode📝 Commits (2)
f6598f4Hide bindmode label if it's emptyaa2d824Send a dummy event on init so that the widget starts hidden📊 Changes
1 file changed (+16 additions, -1 deletions)
View changed files
📝
src/modules/bindmode.rs(+16 -1)📄 Description
Closes #982
This works but I'm not sure how to also make it hidden upon initialization (needed because there would be no
BindModeUpdate's at this point yet). Tried to insertlabel.hide()right after building the widget but it doesn't work.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.