Enlightenment CVS committal Author : englebass Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_module.c Log Message: Formatting =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_module.c,v retrieving revision 1.72 retrieving revision 1.73 diff -u -3 -r1.72 -r1.73 --- e_module.c 28 Dec 2006 14:15:10 -0000 1.72 +++ e_module.c 23 Mar 2007 18:34:28 -0000 1.73 @@ -375,30 +375,30 @@ e_dialog_title_set(dia, title); if (m) { - /* Lots of fallbacks coz we are in a transition period, and the modules are still suffering from the last API change. */ + /* Lots of fallbacks coz we are in a transition period, and the modules are still suffering from the last API change. */ snprintf(eap, sizeof(eap), "%s/module.desktop", e_module_dir_get(m)); if (ecore_file_exists(eap)) - { - E_App *app; + { + E_App *app; - app = e_app_new(eap, 0); - if (app) - { - dia->icon_object = e_app_icon_add(app, e_win_evas_get(dia->win)); - edje_extern_object_min_size_set(dia->icon_object, 64, 64); - edje_object_part_swallow(dia->bg_object, "e.swallow.icon", dia->icon_object); - evas_object_show(dia->icon_object); - e_object_unref(E_OBJECT(app)); - } - } + app = e_app_new(eap, 0); + if (app) + { + dia->icon_object = e_app_icon_add(app, e_win_evas_get(dia->win)); + edje_extern_object_min_size_set(dia->icon_object, 64, 64); + edje_object_part_swallow(dia->bg_object, "e.swallow.icon", dia->icon_object); + evas_object_show(dia->icon_object); + e_object_unref(E_OBJECT(app)); + } + } else /* FIXME: Remove the fallbacks when everything in cvs is converted. B-) */ - { - snprintf(eap, sizeof(eap), "%s/module.edj", e_module_dir_get(m)); - if (ecore_file_exists(eap)) - { - _e_module_dialog_icon_set(dia, eap); - } - } + { + snprintf(eap, sizeof(eap), "%s/module.edj", e_module_dir_get(m)); + if (ecore_file_exists(eap)) + { + _e_module_dialog_icon_set(dia, eap); + } + } } else e_dialog_icon_set(dia, "enlightenment/modules", 64); ------------------------------------------------------------------------- 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