Enlightenment CVS committal Author : onefang Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_menus.c Log Message: Make directory icons work in the menus. I love it when I can make code vanish. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_menus.c,v retrieving revision 1.175 retrieving revision 1.176 diff -u -3 -r1.175 -r1.176 --- e_int_menus.c 14 Oct 2006 06:14:16 -0000 1.175 +++ e_int_menus.c 14 Oct 2006 12:07:45 -0000 1.176 @@ -475,25 +475,15 @@ else if (opt == 0x1) snprintf(label, sizeof(label), "%s", a->comment); else snprintf(label, sizeof(label), "%s", a->name); e_menu_item_label_set(mi, label); + e_app_icon_add_to_menu_item(mi, a); if (a->exe) { - e_app_icon_add_to_menu_item(mi, a); e_menu_item_callback_set(mi, _e_int_menus_apps_run, a); e_menu_item_drag_callback_set(mi, _e_int_menus_apps_drag, a); - app_count++; } else - { - char buf[4096]; - - /* FIXME: .directory.eaps are obsolete, but have yet to be replaced by FDO stuff. */ - snprintf(buf, sizeof(buf), "%s/.directory", a->path); - if (!((a->icon_class) && - (e_util_menu_item_edje_icon_list_set(mi, a->icon_class)))) - /*e_menu_item_icon_edje_set(mi, buf, "icon")*/; - e_menu_item_submenu_set(mi, e_int_menus_apps_new(a->path)); - app_count++; - } + e_menu_item_submenu_set(mi, e_int_menus_apps_new(a->path)); + app_count++; } } } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs