mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-20 16:21:04 +02:00
feat: change icon_overrides
to apply to all resolved images
This commit is contained in:
parent
3e55d87c3a
commit
3a0e102afc
7 changed files with 18 additions and 64 deletions
|
@ -30,17 +30,11 @@ impl Pagination {
|
|||
) -> Self {
|
||||
let scroll_box = gtk::Box::new(orientation, 0);
|
||||
|
||||
let scroll_back = IconButton::new(
|
||||
icon_context.back,
|
||||
icon_context.size,
|
||||
image_provider.clone(),
|
||||
);
|
||||
let scroll_back =
|
||||
IconButton::new(icon_context.back, icon_context.size, image_provider.clone());
|
||||
|
||||
let scroll_fwd = IconButton::new(
|
||||
icon_context.fwd,
|
||||
icon_context.size,
|
||||
image_provider.clone(),
|
||||
);
|
||||
let scroll_fwd =
|
||||
IconButton::new(icon_context.fwd, icon_context.size, image_provider.clone());
|
||||
|
||||
scroll_back.set_sensitive(false);
|
||||
scroll_fwd.set_sensitive(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue