1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 3 Oct 2025 22:02:50 +0200
Subject: [PATCH] Use the icons which are shipped as part of the package
The gnome-icon-theme is scheduled for removal. The used icons have been
copied to the images path. Search there.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
lib/GUI.pm | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/GUI.pm b/lib/GUI.pm
--- a/lib/GUI.pm
+++ b/lib/GUI.pm
@@ -34,9 +34,7 @@ my $box;
# because it's missing an icon :|
# https://aur.archlinux.org/packages/clamtk/
my $theme = Gtk3::IconTheme::get_default;
-$theme->append_search_path( '/usr/share/icons/gnome/24x24/actions' );
-$theme->append_search_path( '/usr/share/icons/gnome/24x24/places' );
-$theme->append_search_path( '/usr/share/icons/gnome/24x24/mimetypes' );
+$theme->append_search_path(ClamTk::App->get_path( 'images' ) . "/gnome-icon-theme/");
sub start_gui {
$window = Gtk3::Window->new( 'toplevel' );
--
2.51.0
|