[Xfce4-commits] [xfce/xfdesktop] 01/01: Consider shadow extents/offsets when updating icon extents
noreply at xfce.org
noreply at xfce.org
Thu Feb 26 10:47:27 CET 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfdesktop.
commit a230cd7ae458e13e993dca9754ba5eb48a4fe2a8
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date: Wed Feb 25 18:32:28 2015 +0100
Consider shadow extents/offsets when updating icon extents
Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
src/xfdesktop-icon-view.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 5f38c21..52991fe 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -2964,8 +2964,8 @@ xfdesktop_icon_view_update_icon_extents(XfdesktopIconView *icon_view,
text_extents->y += ICON_SIZE + SPACING + LABEL_RADIUS + CELL_PADDING;
tmp_text = *text_extents;
- tmp_text.x -= LABEL_RADIUS;
- tmp_text.y -= LABEL_RADIUS;
+ tmp_text.x -= LABEL_RADIUS + (SHADOW_EXTENTS + SHADOW_X_OFFSET);
+ tmp_text.y -= LABEL_RADIUS - (SHADOW_EXTENTS + SHADOW_Y_OFFSET);
tmp_text.width += LABEL_RADIUS * 2;
tmp_text.height += LABEL_RADIUS * 2;
gdk_rectangle_union(pixbuf_extents, &tmp_text, total_extents);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list