summaryrefslogtreecommitdiffstats
path: root/mgaapplet
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2017-03-05 16:48:30 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2017-03-05 16:48:30 +0100
commit8fa121631985e864843544dae9c6faf22bfa2b4a (patch)
tree3e1bc46587255b813f3f55b13e6a814d6518e55e /mgaapplet
parent9a8628d23a69da43681d96dba5af43915bc7d8be (diff)
downloadmgaonline-8fa121631985e864843544dae9c6faf22bfa2b4a.tar
mgaonline-8fa121631985e864843544dae9c6faf22bfa2b4a.tar.gz
mgaonline-8fa121631985e864843544dae9c6faf22bfa2b4a.tar.bz2
mgaonline-8fa121631985e864843544dae9c6faf22bfa2b4a.tar.xz
mgaonline-8fa121631985e864843544dae9c6faf22bfa2b4a.zip
Set the size of icons to 128px when generated from SVG files (mga#18107)
Diffstat (limited to 'mgaapplet')
-rwxr-xr-xmgaapplet2
1 files changed, 1 insertions, 1 deletions
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])));
}