[Xfce4-commits] [panel-plugins/xfce4-statusnotifier-plugin] 01/01: Always use preferred icon size for GtkIconTheme
noreply at xfce.org
noreply at xfce.org
Thu Jul 20 09:25:07 CEST 2017
This is an automated email from the git hooks/post-receive script.
n i n e t l s p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-statusnotifier-plugin.
commit 21760d00c8e255f4bf83ddce1f387b1c034599f4
Author: Viktor Odintsev <ninetls at xfce.org>
Date: Thu Jul 20 02:20:00 2017 +0300
Always use preferred icon size for GtkIconTheme
---
panel-plugin/sn-icon-box.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/sn-icon-box.c b/panel-plugin/sn-icon-box.c
index 8326f91..2ea64b1 100644
--- a/panel-plugin/sn-icon-box.c
+++ b/panel-plugin/sn-icon-box.c
@@ -270,14 +270,14 @@ sn_icon_box_apply_icon (GtkWidget *image,
{
work_pixbuf = gtk_icon_theme_load_icon (icon_theme_from_path,
sn_preferred_name (),
- -1, 0, NULL);
+ icon_size, 0, NULL);
}
if (work_pixbuf == NULL)
{
icon_info = gtk_icon_theme_lookup_icon (icon_theme,
sn_preferred_name (),
- 16, 0);
+ icon_size, 0);
if (icon_info != NULL)
{
gtk_image_set_from_icon_name (GTK_IMAGE (image),
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list