Thank you very much :)Enlightenment SVN schrieb am 08.03.12 09:27: Log: modules/conf_randr: Fix display of outputs - Show and pack objects in layout before using e_layout_child_*() functions. - Don't use random EVAS_HINT_* flags when passing parameters.
Author: englebass Date: 2012-03-08 00:27:32 -0800 (Thu, 08 Mar 2012) New Revision: 69040 Trac: http://trac.enlightenment.org/e/changeset/69040 Modified: trunk/e/src/modules/conf_randr/e_int_config_randr.c trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c Modified: trunk/e/src/modules/conf_randr/e_int_config_randr.c =================================================================== --- trunk/e/src/modules/conf_randr/e_int_config_randr.c 2012-03-08 07:51:39 UTC (rev 69039) +++ trunk/e/src/modules/conf_randr/e_int_config_randr.c 2012-03-08 08:27:32 UTC (rev 69040) @@ -313,7 +313,7 @@ EINA_SAFETY_ON_FALSE_GOTO((wl = e_widget_list_add(canvas, EINA_FALSE, EINA_TRUE)), _dialog_create_widget_list_fail); //e_widget_table_object_append(Evas_Object *obj, Evas_Object *sobj, int col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, int expand_h); - e_widget_table_object_append(table, cfdata->gui.widgets.arrangement.widget, 1, 1, 1, 1, EVAS_HINT_FILL, EVAS_HINT_FILL, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + e_widget_table_object_append(table, cfdata->gui.widgets.arrangement.widget, 1, 1, 1, 1, 1, 1, 1, 1); /* e_widget_table_object_append(table, cfdata->gui.widgets.policies.widget, 1, 2, 1, 1, 0, 0, 0, 0); e_widget_table_object_append(table, cfdata->gui.widgets.orientation.widget, 2, 2, 1, 1, 0, 0, 0, 0); Modified: trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c =================================================================== --- trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c 2012-03-08 07:51:39 UTC (rev 69039) +++ trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c 2012-03-08 08:27:32 UTC (rev 69040) @@ -128,12 +128,12 @@ { memcpy(&geo, &default_geo, sizeof(geo)); } + evas_object_show(odd->rep); + e_layout_pack(area, odd->rep); e_layout_child_raise(odd->rep); e_layout_child_resize(odd->rep, geo.w, geo.h); e_layout_child_move(odd->rep, geo.x, geo.y); - evas_object_show(odd->rep); - e_layout_pack(area, odd->rep); fprintf(stderr, "CONF_RANDR: Representation (%p) added with geo %d.%d %dx%d.\n", odd->rep, geo.x, geo.y, geo.w, geo.h); } e_layout_thaw(area); @@ -181,7 +181,7 @@ e_config_runtime_info->gui.widgets.arrangement.scrollframe = scrollframe; // Append both objects to widget list - e_widget_list_object_append(widget, scrollframe, EVAS_HINT_FILL, EVAS_HINT_EXPAND, EVAS_HINT_FILL); + e_widget_list_object_append(widget, scrollframe, 1, 1, 0.0); e_widget_list_object_append(widget, check, 0, 0, 1.0); e_config_runtime_info->gui.widgets.arrangement.widget_list = widget; ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel