Thanks for the backport :) Daniel Juyung Seo (SeoZ)
On Tue, Jan 8, 2013 at 3:36 PM, Enlightenment SVN < [email protected]> wrote: > Log: > Fix the bug which the callbacks of the sub-object are added even if the > sub-object is added the parent object. > > > Author: jaehwan > Date: 2013-01-07 22:36:40 -0800 (Mon, 07 Jan 2013) > New Revision: 82382 > Trac: http://trac.enlightenment.org/e/changeset/82382 > > Modified: > branches/elementary-1.7/ChangeLog branches/elementary-1.7/NEWS > branches/elementary-1.7/src/lib/elm_flip.c > branches/elementary-1.7/src/lib/elm_hover.c > branches/elementary-1.7/src/lib/elm_layout.c > > Modified: branches/elementary-1.7/ChangeLog > =================================================================== > --- branches/elementary-1.7/ChangeLog 2013-01-08 04:00:36 UTC (rev 82381) > +++ branches/elementary-1.7/ChangeLog 2013-01-08 06:36:40 UTC (rev 82382) > @@ -694,3 +694,7 @@ > 2013-01-06 Jaehyun Cho ([email protected]) > > * Fix omitting signal emission when customized text parts change > the text. > + > +2013-01-08 Jaehwan Kim > + > + * Fix the bug which the callbacks of the sub-object are added > even if the sub-object is added the parent object. > > Modified: branches/elementary-1.7/NEWS > =================================================================== > --- branches/elementary-1.7/NEWS 2013-01-08 04:00:36 UTC (rev 82381) > +++ branches/elementary-1.7/NEWS 2013-01-08 06:36:40 UTC (rev 82382) > @@ -6,6 +6,7 @@ > Fixes: > > * Fix omitting signal emission when customized text parts change the > text. > + * Fix the bug which the callbacks of the sub-object are added even if > the sub-object is added the parent object. > > Changes since Elementary 1.7.4: > ------------------------- > > Modified: branches/elementary-1.7/src/lib/elm_flip.c > =================================================================== > --- branches/elementary-1.7/src/lib/elm_flip.c 2013-01-08 04:00:36 UTC > (rev 82381) > +++ branches/elementary-1.7/src/lib/elm_flip.c 2013-01-08 06:36:40 UTC > (rev 82382) > @@ -124,6 +124,9 @@ > _elm_flip_smart_sub_object_add(Evas_Object *obj, > Evas_Object *sobj) > { > + if (evas_object_data_get(sboj, "elm-parent") == obj) > + return EINA_TRUE; > + > if (!ELM_WIDGET_CLASS(_elm_flip_parent_sc)->sub_object_add(obj, sobj)) > return EINA_FALSE; > > > Modified: branches/elementary-1.7/src/lib/elm_hover.c > =================================================================== > --- branches/elementary-1.7/src/lib/elm_hover.c 2013-01-08 04:00:36 UTC > (rev 82381) > +++ branches/elementary-1.7/src/lib/elm_hover.c 2013-01-08 06:36:40 UTC > (rev 82382) > @@ -323,6 +323,9 @@ > { > ELM_HOVER_DATA_GET(obj, sd); > > + if (evas_object_data_get(sboj, "elm-parent") == obj) > + return EINA_TRUE; > + > if (!ELM_WIDGET_CLASS(_elm_hover_parent_sc)->sub_object_add(obj, sobj)) > return EINA_FALSE; > > > Modified: branches/elementary-1.7/src/lib/elm_layout.c > =================================================================== > --- branches/elementary-1.7/src/lib/elm_layout.c 2013-01-08 > 04:00:36 UTC (rev 82381) > +++ branches/elementary-1.7/src/lib/elm_layout.c 2013-01-08 > 06:36:40 UTC (rev 82382) > @@ -402,6 +402,9 @@ > _elm_layout_smart_sub_object_add(Evas_Object *obj, > Evas_Object *sobj) > { > + if (evas_object_data_get(sboj, "elm-parent") == obj) > + return EINA_TRUE; > + > if (!ELM_WIDGET_CLASS(_elm_layout_parent_sc)->sub_object_add(obj, > sobj)) > return EINA_FALSE; > > > > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS > and more. Get SQL Server skills now (including 2012) with LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > _______________________________________________ > enlightenment-svn mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
