Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        action_simple.c ewl_icon_local_viewer.c filesystem.c 
        layout_ewl_simple.c 


Log Message:
* Miscellaenous plugin updates
* DND tests

===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/action_simple.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- action_simple.c     5 Nov 2005 11:43:04 -0000       1.3
+++ action_simple.c     20 Nov 2005 03:04:29 -0000      1.4
@@ -116,7 +116,7 @@
                entropy_config_str_set("action_simple", "video/x-msvideo", 
"mplayer");
 
                /*Archives*/
-               entropy_config_str_set("action_simple", "application/x-gtar", 
"file-roller");
+               //entropy_config_str_set("action_simple", "application/x-gtar", 
"file-roller");
        }
 
        return instance;
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/ewl_icon_local_viewer.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_icon_local_viewer.c     17 Nov 2005 07:59:51 -0000      1.25
+++ ewl_icon_local_viewer.c     20 Nov 2005 03:04:29 -0000      1.26
@@ -113,6 +113,7 @@
                ewl_widget_show(hbox);
 
                image = ewl_image_new();
+               ewl_image_constrain_set(EWL_IMAGE(image), 64);
                ewl_image_file_set(EWL_IMAGE(image), 
file_stat->file->thumbnail->thumbnail_filename, NULL);
                ewl_container_child_append(EWL_CONTAINER(hbox), image);
                ewl_widget_show(image);
@@ -941,6 +942,7 @@
                                                  
                printf("Received a file progress event..\n");
                if (!VISIBLE(view->progress->progress_window)) {
+                       printf("Showing progressbar dialog..\n");
                        ewl_widget_show(view->progress->progress_window);
                }
 
@@ -950,6 +952,7 @@
 
                /*Is it time to hide (i.e. end)*/
                if (progress->type == TYPE_END) {
+                       printf("Hiding progressbar dialog..\n");
                        ewl_widget_hide(view->progress->progress_window);
                }
        
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/filesystem.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- filesystem.c        17 Nov 2005 07:59:51 -0000      1.20
+++ filesystem.c        20 Nov 2005 03:04:29 -0000      1.21
@@ -327,7 +327,8 @@
                        entropy_file_progress* request = 
entropy_malloc(sizeof(entropy_file_progress));
                        char* uri = NULL;
                                                    
-                       printf("Progress for file '%s' is %f percent\n", 
(char*)data->resp_command.file_command.files[0]->path, 
data->progress.file_progress);
+                       //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]);
@@ -355,6 +356,11 @@
                                free(gui_event);
                        }
 
+                       if (data->progress.type == EVFS_PROGRESS_TYPE_DONE) {
+                               /*TODO free the key */
+                               
+                       }
+
                        free(uri);
                        free(request->file_from);
                        free(request->file_to);
@@ -560,7 +566,7 @@
                                                entropy_free(md5); /*We don't 
need this one, we're returning an old ref*/
                                        }
                                } else {
-                                       /*printf ("Not addiong...\n");*/
+                                       /*printf ("Not adding...\n");*/
                                }
                                //
                                
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/layout_ewl_simple.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- layout_ewl_simple.c 5 Nov 2005 11:43:04 -0000       1.13
+++ layout_ewl_simple.c 20 Nov 2005 03:04:29 -0000      1.14
@@ -109,6 +109,7 @@
        Ewl_Widget* button;
 
        window = ewl_window_new();
+       
        ((entropy_layout_gui*)instance->data)->location_add_window = window;
        ewl_window_title_set(EWL_WINDOW(window),"Add Location");
 
@@ -519,6 +520,8 @@
 
        /*EWL Setup*/
        win= ewl_window_new();
+       ewl_window_dnd_aware_set(EWL_WINDOW(win));
+       
        box = ewl_vbox_new();
        vbox = ewl_vbox_new();
        hbox = ewl_hbox_new();




-------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to