Enlightenment CVS committal Author : lordchaos Project : e17 Module : proto
Dir : e17/proto/entropy/src/plugins Modified Files: ewl_icon_local_viewer.c layout_ewl_simple.c structure_viewer.c Log Message: * Fill policy changes * Button-press on tree changes =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/ewl_icon_local_viewer.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -3 -r1.45 -r1.46 --- ewl_icon_local_viewer.c 2 Jan 2006 09:05:42 -0000 1.45 +++ ewl_icon_local_viewer.c 8 Jan 2006 06:24:05 -0000 1.46 @@ -749,6 +749,7 @@ switch (eevent->event_type) { case ENTROPY_NOTIFY_FILELIST_REQUEST_EXTERNAL: case ENTROPY_NOTIFY_FILELIST_REQUEST: { + event_idle_processor* proc = entropy_malloc(sizeof(event_idle_processor)); @@ -759,6 +760,9 @@ Ecore_Hash* tmp_gui_hash; Ecore_Hash* tmp_icon_hash; + + printf("Icon viewer got a directory change order!\n"); + /*Keep a reference to our existing hash*/ tmp_gui_hash = view->gui_hash; tmp_icon_hash = view->icon_hash; =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/layout_ewl_simple.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- layout_ewl_simple.c 7 Jan 2006 08:21:01 -0000 1.27 +++ layout_ewl_simple.c 8 Jan 2006 06:24:05 -0000 1.28 @@ -354,6 +354,7 @@ hbox = ewl_border_new(); ewl_border_text_set(EWL_BORDER(hbox), name); ewl_container_child_append(EWL_CONTAINER(tree), hbox); + ewl_object_fill_policy_set(EWL_OBJECT(hbox), EWL_FLAG_FILL_FILL); ewl_widget_show(hbox); header->header = strdup(name); @@ -633,6 +634,7 @@ tree = ewl_scrollpane_new(); ewl_box_spacing_set(EWL_BOX(EWL_SCROLLPANE(tree)->box), 5); + ewl_object_fill_policy_set(EWL_OBJECT(tree), EWL_FLAG_FILL_FILL); gui->tree = tree; gui->paned = ewl_hpaned_new(); =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/structure_viewer.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- structure_viewer.c 7 Jan 2006 08:21:01 -0000 1.27 +++ structure_viewer.c 8 Jan 2006 06:24:05 -0000 1.28 @@ -281,6 +281,8 @@ row = ewl_tree_row_add(EWL_TREE(viewer->tree), prow, children); ewl_object_fill_policy_set(EWL_OBJECT(row), EWL_FLAG_FILL_VSHRINK | EWL_FLAG_FILL_HFILL); + ewl_container_callback_intercept(EWL_CONTAINER(row), EWL_CALLBACK_MOUSE_DOWN); + ewl_object_custom_h_set(EWL_OBJECT(row), 15); ewl_widget_show(row); @@ -293,7 +295,7 @@ ecore_list_append(viewer->files, event->file); - ewl_callback_append(label, EWL_CALLBACK_MOUSE_DOWN, row_clicked_callback, event); + ewl_callback_append(row, EWL_CALLBACK_MOUSE_DOWN, row_clicked_callback, event); 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_callback_append(row, EWL_CALLBACK_DND_DROP, dnd_drop_callback, event); @@ -355,19 +357,7 @@ structure_viewer_add_row(instance, (entropy_generic_file*)data, NULL); - /*Prevent expand/collpase of root node*/ - child =ewl_container_child_get(EWL_CONTAINER(viewer->tree), 0); - ewl_callback_del_type(EWL_TREE_NODE(child)->handle, EWL_CALLBACK_VALUE_CHANGED); - - - //printf("..done\n"); - ewl_widget_show(viewer->tree); - //printf("Returning instance..\n"); - - - - //printf("Doing..\n"); return instance; } ------------------------------------------------------- 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