mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 09:15:22 +01:00
[PR #1010] [MERGED] refactor: recv_glib dependency arrays #8118
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#8118
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/1010
Author: @JakeStanger
Created: 5/26/2025
Status: ✅ Merged
Merged: 5/26/2025
Merged by: @JakeStanger
Base:
master← Head:refactor/glib-deps📝 Commits (1)
9d18ce5refactor:recv_glibdependency arrays📊 Changes
31 files changed (+524 additions, -502 deletions)
View changed files
📝
src/channels.rs(+91 -16)📝
src/config/common.rs(+8 -13)📝
src/dynamic_value/dynamic_bool.rs(+6 -4)📝
src/dynamic_value/dynamic_string.rs(+6 -4)📝
src/ipc/server/mod.rs(+1 -2)📝
src/modules/bindmode.rs(+11 -17)📝
src/modules/cairo.rs(+1 -1)📝
src/modules/clipboard.rs(+5 -6)📝
src/modules/clock.rs(+2 -2)📝
src/modules/custom/button.rs(+1 -1)📝
src/modules/custom/image.rs(+7 -11)📝
src/modules/custom/label.rs(+3 -6)📝
src/modules/custom/progress.rs(+2 -3)📝
src/modules/custom/slider.rs(+1 -1)📝
src/modules/focused.rs(+1 -1)📝
src/modules/keyboard.rs(+33 -29)📝
src/modules/label.rs(+4 -8)📝
src/modules/launcher/mod.rs(+86 -91)📝
src/modules/menu/mod.rs(+18 -18)📝
src/modules/mod.rs(+2 -4)...and 11 more files
📄 Description
Adds a dependency array system to
recv_glibwhich internally clones the passed deps and then passes by reference to the callback.This cleans up a lot of the big
{}blocks full ofwidget.clone()and removes a lot of boilerplate. Yay!🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.