[gnome-panel/gtk3] showdesktop: Fix the size of the icon
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/gtk3] showdesktop: Fix the size of the icon
- Date: Sun, 30 Jan 2011 10:55:42 +0000 (UTC)
commit 6dae521ff187dcb2da1969ad017cf5b9e1bcb8f2
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sun Jan 30 11:55:04 2011 +0100
showdesktop: Fix the size of the icon
applets/wncklet/showdesktop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c
index c8e21da..3a6d813 100644
--- a/applets/wncklet/showdesktop.c
+++ b/applets/wncklet/showdesktop.c
@@ -167,7 +167,7 @@ update_icon (ShowDesktopData *sdd)
break;
}
- icon_size = sdd->size - 2 * (focus_width + focus_pad) + thickness;
+ icon_size = sdd->size - 2 * (focus_width + focus_pad) - thickness;
if (icon_size < 22)
icon_size = 16;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]