Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        ewl_icon_local_viewer.c 


Log Message:
Properties SEGV

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/ewl_icon_local_viewer.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_icon_local_viewer.c     23 Oct 2005 08:16:19 -0000      1.8
+++ ewl_icon_local_viewer.c     23 Oct 2005 08:25:00 -0000      1.9
@@ -56,7 +56,7 @@
        
        window = ewl_window_new();
        ewl_window_title_set(EWL_WINDOW(window), "File Properties");
-       //ewl_object_custom_size_set(EWL_OBJECT(window), 300, 350);
+       ewl_object_custom_size_set(EWL_OBJECT(window), 300, 400);
        
        vbox = ewl_vbox_new();
        ewl_container_child_append(EWL_CONTAINER(window), vbox);
@@ -322,7 +322,7 @@
        entropy_gui_component_instance* instance = 
(entropy_gui_component_instance*)user_data;
        entropy_icon_viewer* viewer = instance->data;
        entropy_gui_event* gui_event;
-       gui_file* local_file = ecore_hash_get( 
((entropy_icon_viewer*)user_data)->icon_hash, 
EWL_ICONBOX(viewer->iconbox)->select_icon);
+       gui_file* local_file = ecore_hash_get( viewer->icon_hash, 
EWL_ICONBOX(viewer->iconbox)->select_icon);
 
        
        //Stat test..
@@ -331,7 +331,7 @@
                gui_event = entropy_malloc(sizeof(entropy_gui_event));
                gui_event->event_type = 
entropy_core_gui_event_get(ENTROPY_GUI_EVENT_FILE_STAT);
                gui_event->data = local_file->file;
-               entropy_core_layout_notify_event(  local_file->instance , 
gui_event, ENTROPY_EVENT_LOCAL); 
+               entropy_core_layout_notify_event(instance , gui_event, 
ENTROPY_EVENT_LOCAL); 
        } else {
                printf("Could not find selected icon!\n");
        }




-------------------------------------------------------
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

Reply via email to