Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : proto
Dir : e17/proto/entropy/src
Modified Files:
entropy_core.c
Log Message:
* More work on filesystem operation response
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/entropy_core.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- entropy_core.c 1 Feb 2006 05:02:22 -0000 1.40
+++ entropy_core.c 1 Feb 2006 11:48:20 -0000 1.41
@@ -550,7 +550,8 @@
return "entropy_gui_event_file_progress";
} else if (!strcmp(event, ENTROPY_GUI_EVENT_THUMBNAIL_AVAILABLE)) {
return "entropy_gui_event_thumbnail_available";
-
+ } else if (!strcmp(event,
ENTROPY_GUI_EVENT_USER_INTERACTION_YES_NO_ABORT)) {
+ return "entropy_gui_event_user_interaction_yes_no_abort";
} else {
return "";
}
@@ -1144,6 +1145,22 @@
iter);
}
entropy_notify_event_destroy(ev);
+ } else if (!strcmp(event->event_type,
ENTROPY_GUI_EVENT_USER_INTERACTION_YES_NO_ABORT)) {
+ entropy_notify_event* ev = entropy_notify_event_new();
+ ev->event_type = ENTROPY_NOTIFY_USER_INTERACTION_YES_NO_ABORT;
+
+ /*Call the requestors*/
+ ecore_list_goto_first(el);
+ while ( (iter = ecore_list_next(el)) ) {
+ //printf( "Calling callback at : %p\n",
iter->plugin->gui_event_callback_p);
+
+ if (iter->active) (*iter->plugin->gui_event_callback_p)
+ (ev,
+ iter,
+ event->data, /*An evfs progress event*/
+ iter);
+ }
+ entropy_notify_event_destroy(ev);
} else {
fprintf(stderr, "entropy_core: Unknown event type called\n");
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs