From 8fa121631985e864843544dae9c6faf22bfa2b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Sun, 5 Mar 2017 16:48:30 +0100 Subject: Set the size of icons to 128px when generated from SVG files (mga#18107) --- mgaapplet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mgaapplet b/mgaapplet index bf914258..04e08429 100755 --- a/mgaapplet +++ b/mgaapplet @@ -684,7 +684,7 @@ sub setState { } else { $icon_name = "/usr/share/icons/hicolor/scalable/actions/${icon_name}.svg"; - $icon->set_from_pixbuf(gtkcreate_pixbuf($icon_name)); + $icon->set_from_pixbuf(gtknew('Pixbuf', file => $icon_name, size => 128)); $icon->set_tooltip_text(formatAlaTeX(translate($state{$state}{tt}[0]))); } -- cgit v1.2.1