Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/ibar Modified Files: e_mod_main.c e_mod_main.h Log Message: set the default sizes to somethingn "sane" :) =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibar/e_mod_main.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- e_mod_main.c 12 Mar 2005 09:44:16 -0000 1.17 +++ e_mod_main.c 19 Mar 2005 12:49:45 -0000 1.18 @@ -193,11 +193,6 @@ E_CONFIG_VAL(D, T, iconsize, INT); E_CONFIG_VAL(D, T, width, INT); E_CONFIG_LIST(D, T, bars, conf_bar_edd); - /* - E_CONFIG_VAL(D, T, anchor, DOUBLE); - E_CONFIG_VAL(D, T, handle, DOUBLE); - E_CONFIG_VAL(D, T, autohide, UCHAR); - */ ib->conf = e_config_domain_load("module.ibar", conf_edd); if (!ib->conf) @@ -206,24 +201,14 @@ ib->conf->appdir = strdup("bar"); ib->conf->follow_speed = 0.9; ib->conf->autoscroll_speed = 0.95; - ib->conf->iconsize = 32; + ib->conf->iconsize = 24; ib->conf->width = IBAR_WIDTH_AUTO; - /* - ib->conf->anchor = 0.5; - ib->conf->handle = 0.5; - ib->conf->autohide = 0; - */ } E_CONFIG_LIMIT(ib->conf->follow_speed, 0.01, 1.0); E_CONFIG_LIMIT(ib->conf->autoscroll_speed, 0.01, 1.0); E_CONFIG_LIMIT(ib->conf->iconsize, 2, 400); E_CONFIG_LIMIT(ib->conf->width, -2, -1); - /* - E_CONFIG_LIMIT(ib->conf->anchor, 0.0, 1.0); - E_CONFIG_LIMIT(ib->conf->handle, 0.0, 1.0); - E_CONFIG_LIMIT(ib->conf->autohide, 0, 1); - */ - + _ibar_config_menu_new(ib); if (ib->conf->appdir[0] != '/') @@ -497,7 +482,7 @@ policy |= E_GADMAN_POLICY_HSIZE; e_gadman_client_policy_set(ibb->gmc, policy); e_gadman_client_min_size_set(ibb->gmc, 8, 8); - e_gadman_client_max_size_set(ibb->gmc, 800, 136); + e_gadman_client_max_size_set(ibb->gmc, 3200, 3200); e_gadman_client_auto_size_set(ibb->gmc, -1, -1); e_gadman_client_align_set(ibb->gmc, 0.5, 1.0); e_gadman_client_resize(ibb->gmc, 400, 40); =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibar/e_mod_main.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- e_mod_main.h 16 Feb 2005 11:43:58 -0000 1.7 +++ e_mod_main.h 19 Mar 2005 12:49:45 -0000 1.8 @@ -21,11 +21,6 @@ int iconsize; int width; Evas_List *bars; - /* - double anchor; - double handle; - char autohide; - */ }; struct _Config_Bar ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs