[Xfce4-commits] [panel-plugins/xfce4-fsguard-plugin] 05/15: Don't fumble with style internals for now

noreply at xfce.org noreply at xfce.org
Thu Apr 28 12:07:48 CEST 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-fsguard-plugin.

commit 1cdbcc6842a8e000838c4fd24c23aebf6beba5ef
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Apr 28 11:58:09 2016 +0200

    Don't fumble with style internals for now
---
 panel-plugin/fsguard.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/panel-plugin/fsguard.c b/panel-plugin/fsguard.c
index 0aabb6d..0d07fc7 100644
--- a/panel-plugin/fsguard.c
+++ b/panel-plugin/fsguard.c
@@ -139,8 +139,7 @@ fsguard_set_icon (FsGuard *fsguard, gint id)
     size = xfce_panel_plugin_get_size (fsguard->plugin);
     size /= xfce_panel_plugin_get_nrows (fsguard->plugin);
 
-    size -= 2 + 2 * MAX (fsguard->btn_panel->style->xthickness,
-                         fsguard->btn_panel->style->ythickness);
+    size -= 2;
 
     icon_theme = gtk_icon_theme_get_default ();
     if (id == ICON_URGENT) {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list