Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : proto
Dir : e17/proto/entropy/src/plugins
Modified Files:
ewl_icon_local_viewer.c filesystem.c
Log Message:
* More work on the transfer dialog
===================================================================
RCS file:
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/ewl_icon_local_viewer.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- ewl_icon_local_viewer.c 16 Nov 2005 11:48:34 -0000 1.24
+++ ewl_icon_local_viewer.c 17 Nov 2005 07:59:51 -0000 1.25
@@ -947,6 +947,11 @@
ewl_text_text_set(EWL_TEXT(view->progress->file_from),
progress->file_from);
ewl_text_text_set(EWL_TEXT(view->progress->file_to),
progress->file_to);
ewl_progressbar_value_set(EWL_PROGRESSBAR(view->progress->progressbar),
progress->progress);
+
+ /*Is it time to hide (i.e. end)*/
+ if (progress->type == TYPE_END) {
+ ewl_widget_hide(view->progress->progress_window);
+ }
}
break;
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/filesystem.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- filesystem.c 16 Nov 2005 11:48:34 -0000 1.19
+++ filesystem.c 17 Nov 2005 07:59:51 -0000 1.20
@@ -318,8 +318,6 @@
gui_event->data = file_list;
entropy_core_layout_notify_event(calling_request->requester , gui_event,
ENTROPY_EVENT_LOCAL);
-
- //TODO - destroy all the shit we create here
}
break;
@@ -335,6 +333,12 @@
request->file_to =
evfs_filereference_to_string(data->resp_command.file_command.files[1]);
request->progress = data->progress.file_progress;
+ if (data->progress.type == EVFS_PROGRESS_TYPE_CONTINUE)
+ request->type = TYPE_CONTINUE;
+ else
+ request->type = TYPE_END;
+
+
/*Build up the gui_event wrapper*/
gui_event = entropy_malloc(sizeof(entropy_gui_event));
gui_event->event_type =
entropy_core_gui_event_get(ENTROPY_GUI_EVENT_FILE_PROGRESS);
-------------------------------------------------------
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. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs