Julien Danjou wrote:
> At 1229325688 time_t, Leon Winter wrote:
>> +        if icon.width > tonumber(data.h) then
>> +            icon = 
>> icon:crop_and_scale(0,0,icon.height,icon.width,data.h,data.h)
> 
> Pictures may not be square.
> 
16px on default because most icons are 16px.

Regards,
Leon Winter

>From f0de1ac8f981af7d95cb060ed0e6a6d3d3b5763a Mon Sep 17 00:00:00 2001
From: Leon Winter <[email protected]>
Date: Thu, 18 Dec 2008 18:10:52 +0100
Subject: [PATCH] awful.menu: change menu height to 16px

---
 lib/awful/menu.lua.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/awful/menu.lua.in b/lib/awful/menu.lua.in
index 95666c7..72401a7 100644
--- a/lib/awful/menu.lua.in
+++ b/lib/awful/menu.lua.in
@@ -35,7 +35,7 @@ local function load_theme(custom)
 
     theme.submenu_icon = custom.submenu_icon or beautiful.menu_submenu_icon
 
-    theme.menu_height = custom.height or beautiful.menu_height or 15
+    theme.menu_height = custom.height or beautiful.menu_height or 16
     theme.menu_width = custom.width or beautiful.menu_width or 100
 
     theme.border = custom.border_color or beautiful.menu_border_color or beautiful.border_normal
-- 
1.5.6.5


Reply via email to