Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        layout_ewl_simple.c structure_viewer.c 


Log Message:
* Support for multiple entropy windows, via ipc - run 'entropy' command again 
to launch second (or third, or fourth) entropy window

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/layout_ewl_simple.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- layout_ewl_simple.c 11 Jan 2006 10:55:39 -0000      1.33
+++ layout_ewl_simple.c 12 Jan 2006 09:16:08 -0000      1.34
@@ -546,7 +546,6 @@
 
 void entropy_plugin_layout_main() 
 {      
-       ewl_widget_show(win);
        ewl_main();
 }
 
@@ -837,5 +836,6 @@
        
 
        layout->gui_object = win;
+       ewl_widget_show(win);
        return layout;
 }
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/structure_viewer.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- structure_viewer.c  8 Jan 2006 22:34:58 -0000       1.31
+++ structure_viewer.c  12 Jan 2006 09:16:08 -0000      1.32
@@ -79,7 +79,13 @@
        
        Ewl_Row* row = ecore_hash_get(viewer->row_folder_hash, event_file);
 
-       if (row) viewer->current_row = row;
+       if (row) {
+               viewer->current_row = row;
+       } else {
+               /*If we don't know about this row, assume it's another 
structure viewer,
+                * i.e. set to null, so we can reload the dir later */
+               viewer->current_row = NULL;
+       }
        
        /*If we don't own this row, forget about doing something 
         * - we don't know about this*/




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

Reply via email to