Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: backgrounds.c groups.c mod-misc.c pager.c Log Message: Move some configuration items to where they belong. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/backgrounds.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- backgrounds.c 19 Mar 2005 16:39:58 -0000 1.21 +++ backgrounds.c 20 Mar 2005 23:28:59 -0000 1.22 @@ -2773,12 +2773,21 @@ #define N_IPC_FUNCS (sizeof(BackgroundsIpcArray)/sizeof(IpcItem)) /* + * Configuration items + */ +static const CfgItem BackgroundsCfgItems[] = { + CFG_ITEM_BOOL(Conf.backgrounds, hiquality, 1), + CFG_ITEM_BOOL(Conf.backgrounds, user, 1), + CFG_ITEM_INT(Conf.backgrounds, timeout, 240), +}; +#define N_CFG_ITEMS (sizeof(BackgroundsCfgItems)/sizeof(CfgItem)) + +/* * Module descriptor */ EModule ModBackgrounds = { "backgrounds", "bg", BackgroundsSighan, - {N_IPC_FUNCS, BackgroundsIpcArray} - , - {0, NULL} + {N_IPC_FUNCS, BackgroundsIpcArray}, + {N_CFG_ITEMS, BackgroundsCfgItems} }; =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/groups.c,v retrieving revision 1.64 retrieving revision 1.65 diff -u -3 -r1.64 -r1.65 --- groups.c 19 Mar 2005 16:40:02 -0000 1.64 +++ groups.c 20 Mar 2005 23:28:59 -0000 1.65 @@ -1618,10 +1618,25 @@ }; #define N_IPC_FUNCS (sizeof(GroupsIpcArray)/sizeof(IpcItem)) +/* + * Configuration items + */ +static const CfgItem GroupsCfgItems[] = { + CFG_ITEM_BOOL(Conf.groups, dflt.iconify, 1), + CFG_ITEM_BOOL(Conf.groups, dflt.kill, 0), + CFG_ITEM_BOOL(Conf.groups, dflt.mirror, 1), + CFG_ITEM_BOOL(Conf.groups, dflt.move, 1), + CFG_ITEM_BOOL(Conf.groups, dflt.raise, 0), + CFG_ITEM_BOOL(Conf.groups, dflt.set_border, 1), + CFG_ITEM_BOOL(Conf.groups, dflt.stick, 1), + CFG_ITEM_BOOL(Conf.groups, dflt.shade, 1), + CFG_ITEM_BOOL(Conf.groups, swapmove, 1), +}; +#define N_CFG_ITEMS (sizeof(GroupsCfgItems)/sizeof(CfgItem)) + EModule ModGroups = { "groups", "grp", GroupsSighan, - {N_IPC_FUNCS, GroupsIpcArray} - , - {0, NULL} + {N_IPC_FUNCS, GroupsIpcArray}, + {N_CFG_ITEMS, GroupsCfgItems} }; =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/mod-misc.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- mod-misc.c 19 Mar 2005 16:40:07 -0000 1.11 +++ mod-misc.c 20 Mar 2005 23:28:59 -0000 1.12 @@ -96,9 +96,6 @@ #endif static const CfgItem MiscCfgItems[] = { - CFG_ITEM_INT(Conf, backgrounds.hiquality, 1), - CFG_ITEM_INT(Conf, backgrounds.timeout, 240), - CFG_ITEM_BOOL(Conf, backgrounds.user, 1), CFG_ITEM_BOOL(Conf, dialogs.headers, 0), CFG_ITEM_BOOL(Conf, dialogs.button_image, 0), @@ -109,16 +106,6 @@ CFG_ITEM_INT(Conf, dock.startx, 0), CFG_ITEM_INT(Conf, dock.starty, 0), - CFG_ITEM_BOOL(Conf, groups.dflt.iconify, 1), - CFG_ITEM_BOOL(Conf, groups.dflt.kill, 0), - CFG_ITEM_BOOL(Conf, groups.dflt.mirror, 1), - CFG_ITEM_BOOL(Conf, groups.dflt.move, 1), - CFG_ITEM_BOOL(Conf, groups.dflt.raise, 0), - CFG_ITEM_BOOL(Conf, groups.dflt.set_border, 1), - CFG_ITEM_BOOL(Conf, groups.dflt.stick, 1), - CFG_ITEM_BOOL(Conf, groups.dflt.shade, 1), - CFG_ITEM_BOOL(Conf, groups.swapmove, 1), - CFG_ITEM_BOOL(Conf, hints.set_xroot_info_on_root_window, 0), CFG_ITEM_INT(Conf, movres.mode_move, 0), =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/pager.c,v retrieving revision 1.123 retrieving revision 1.124 diff -u -3 -r1.123 -r1.124 --- pager.c 19 Mar 2005 16:40:07 -0000 1.123 +++ pager.c 20 Mar 2005 23:28:59 -0000 1.124 @@ -2410,7 +2410,6 @@ CFG_ITEM_INT(Conf.pagers, sel_button, 2), CFG_ITEM_INT(Conf.pagers, win_button, 1), CFG_ITEM_INT(Conf.pagers, menu_button, 3), - }; #define N_CFG_ITEMS (sizeof(PagersCfgItems)/sizeof(CfgItem)) ------------------------------------------------------- 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