Enlightenment CVS committal Author : lordchaos Project : e17 Module : proto
Dir : e17/proto/entropy/src/plugins Modified Files: ewl_icon_local_viewer.c Log Message: Correct path structure for files in / =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/ewl_icon_local_viewer.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- ewl_icon_local_viewer.c 23 Oct 2005 08:25:00 -0000 1.9 +++ ewl_icon_local_viewer.c 23 Oct 2005 09:56:22 -0000 1.10 @@ -516,6 +516,15 @@ } +ewl_icon_local_viewer_remove_icon(entropy_gui_component_instance* comp, entropy_generic_file* list_item ) { + entropy_icon_viewer* view = comp->data; + gui_file* gui_object; + + if ( (gui_object = ecore_hash_get(view->gui_hash, list_item)) ) { + ewl_iconbox_icon_remove(EWL_ICONBOX(view->iconbox), EWL_ICONBOX_ICON(gui_object->icon)); + } +} + void ewl_icon_local_viewer_add_icon(entropy_gui_component_instance* comp, entropy_generic_file* list_item) { entropy_icon_viewer* view = comp->data; @@ -662,6 +671,7 @@ case ENTROPY_NOTIFY_FILE_REMOVE: { printf("Received a remove file notify\n"); + ewl_icon_local_viewer_remove_icon(comp, (entropy_generic_file*)ret); } break; ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs