From: Enlightenment C. <no...@cv...> - 2006-04-01 09:25:08
|
Enlightenment CVS committal Author : shorne Project : e17 Module : apps/e Dir : e17/apps/e/src/modules/itray Modified Files: e_mod_main.c Log Message: Add Font Configuration Dialog, and... * Added some e_widget api for handy things (Toggling checks, Setting Entry Text...) * Fixed some compiler warnings * TODO : Font hinting and this new font dialog should be merged, Also, need To add font fallbacks configuration to this dialog =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/itray/e_mod_main.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- e_mod_main.c 20 Feb 2006 19:11:06 -0000 1.11 +++ e_mod_main.c 1 Apr 2006 09:24:56 -0000 1.12 @@ -479,6 +479,7 @@ w = h = TRAY_ICON_SIZE + itb->box_inset.l + itb->box_inset.r; else { + if (itb->tray->rows > 0) itb->tray->rows = 1; icons_per_row = (itb->tray->icons + (itb->tray->icons % itb->tray->rows)) / itb->tray->rows; w = (icons_per_row * TRAY_ICON_SIZE) |