Enlightenment CVS committal Author : englebass Project : e_modules Module : flame
Dir : e_modules/flame Modified Files: e_mod_main.c Log Message: Remove no longer used menu. =================================================================== RCS file: /cvs/e/e_modules/flame/e_mod_main.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -3 -r1.29 -r1.30 --- e_mod_main.c 8 Dec 2006 14:49:13 -0000 1.29 +++ e_mod_main.c 15 Mar 2007 13:59:23 -0000 1.30 @@ -16,10 +16,7 @@ /* module private routines */ static Flame *_flame_init (E_Module * m); static void _flame_shutdown (Flame * f); -static E_Menu *_flame_config_menu_new (Flame * f); static void _flame_config_palette_set (Flame * f, Flame_Palette_Type type); -static void _flame_menu_cb_configure (void *data, E_Menu * m, - E_Menu_Item * mi); static int _flame_face_init (Flame_Face * ff); static void _flame_face_free (Flame_Face * ff); @@ -209,21 +206,6 @@ f = NULL; } -static E_Menu * -_flame_config_menu_new (Flame * f) -{ - E_Menu *mn; - E_Menu_Item *mi; - - mn = e_menu_new (); - mi = e_menu_item_new (mn); - e_menu_item_label_set (mi, _("Configuration")); - e_util_menu_item_edje_icon_set (mi, "enlightenment/configuration"); - e_menu_item_callback_set (mi, _flame_menu_cb_configure, f); - f->config_menu = mn; - return mn; -} - static void _flame_config_palette_set (Flame * f, Flame_Palette_Type type) { @@ -908,16 +890,4 @@ return; /* Update The Palette */ _flame_config_palette_set (f, f->conf->palette_type); -} - -static void -_flame_menu_cb_configure (void *data, E_Menu * m, E_Menu_Item * mi) -{ - Flame *f; - - f = (Flame *) data; - if (!f) - return; - /* Call The Config Dialog */ - _config_flame_module (f->face->con, f); } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs