Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : proto
Dir : e17/proto/entropy/src/plugins
Modified Files:
filesystem.c structure_viewer.c
Log Message:
* Change to accomodate the way evfs progress events work now.
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/filesystem.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- filesystem.c 20 Dec 2005 06:17:25 -0000 1.27
+++ filesystem.c 20 Dec 2005 22:01:20 -0000 1.28
@@ -320,11 +320,11 @@
//printf("Progress for file '%s' is %f percent\n",
//
(char*)data->resp_command.file_command.files[0]->path,
data->progress.file_progress);
- request->file_from =
evfs_filereference_to_string(data->resp_command.file_command.files[0]);
- request->file_to =
evfs_filereference_to_string(data->resp_command.file_command.files[1]);
- request->progress = data->progress.file_progress;
+ request->file_from = strdup(data->progress->file_from);
+ request->file_to = strdup(data->progress->file_to);
+ request->progress = data->progress->file_progress;
- if (data->progress.type == EVFS_PROGRESS_TYPE_CONTINUE)
+ if (data->progress->type ==
EVFS_PROGRESS_TYPE_CONTINUE)
request->type = TYPE_CONTINUE;
else
request->type = TYPE_END;
@@ -346,7 +346,7 @@
free(gui_event);
}
- if (data->progress.type == EVFS_PROGRESS_TYPE_DONE) {
+ if (data->progress->type == EVFS_PROGRESS_TYPE_DONE) {
/*TODO free the key */
}
@@ -643,6 +643,8 @@
evfs_file_uri_path* uri_path_to;
char* original;
+ char copy_buffer[PATH_MAX];
+
char uri_from[512];
char uri_to[512];
@@ -662,12 +664,10 @@
//printf("Original uri is: '%s'\n", original);
//
/*Track the copy action*/
+ snprintf(copy_buffer, PATH_MAX, "%s%s", uri_from, uri_to);
original = evfs_filereference_to_string(uri_path_from->files[0]);
ecore_hash_set(file_copy_hash, original, instance);
-
-
-
evfs_client_file_copy(con, uri_path_from->files[0],
uri_path_to->files[0]);
//TODO - free the file containers here
===================================================================
RCS file:
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/structure_viewer.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- structure_viewer.c 11 Dec 2005 06:30:01 -0000 1.18
+++ structure_viewer.c 20 Dec 2005 22:01:20 -0000 1.19
@@ -229,7 +229,7 @@
ewl_callback_append(row, EWL_CALLBACK_DND_ENTER,
dnd_enter_callback, event);
ewl_callback_append(row, EWL_CALLBACK_DND_LEAVE,
dnd_leave_callback, event);
- ewl_widget_appearance_set(EWL_WIDGET(row), "entry");
+ //ewl_widget_appearance_set(EWL_WIDGET(row), "entry");
-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs