EINA_TRUE/FALSE instead of 0/1 if noedit is an Eina_Bool On Fri, Nov 16, 2012 at 11:20 AM, Enlightenment SVN <[email protected]> wrote: > Log: > e: edit == !noedit && !edit == noedit > > Author: englebass > Date: 2012-11-16 02:20:31 -0800 (Fri, 16 Nov 2012) > New Revision: 79373 > Trac: http://trac.enlightenment.org/e/changeset/79373 > > Modified: > trunk/e/src/bin/e_entry.c > > Modified: trunk/e/src/bin/e_entry.c > =================================================================== > --- trunk/e/src/bin/e_entry.c 2012-11-16 10:14:12 UTC (rev 79372) > +++ trunk/e/src/bin/e_entry.c 2012-11-16 10:20:31 UTC (rev 79373) > @@ -332,7 +332,7 @@ > if (evas_object_smart_smart_get(entry) != _e_entry_smart) SMARTERRNR(); > if ((!entry) || (!(sd = evas_object_smart_data_get(entry)))) > return; > - if (sd->noedit) > + if (!sd->noedit) > return; > > edje_object_signal_emit(e_scrollframe_edje_object_get(sd->scroll_object), > @@ -340,7 +340,7 @@ > edje_object_signal_emit(sd->entry_object, "e,state,edit", "e"); > if (sd->focused) > edje_object_signal_emit(sd->entry_object, "e,action,show,cursor", "e"); > - sd->noedit = 1; > + sd->noedit = 0; > } > > /** > @@ -357,14 +357,14 @@ > if (evas_object_smart_smart_get(entry) != _e_entry_smart) SMARTERRNR(); > if ((!entry) || (!(sd = evas_object_smart_data_get(entry)))) > return; > - if (!sd->noedit) > + if (sd->noedit) > return; > > edje_object_signal_emit(e_scrollframe_edje_object_get(sd->scroll_object), > "e,state,noedit", "e"); > edje_object_signal_emit(sd->entry_object, "e,state,noedit", "e"); > edje_object_signal_emit(sd->entry_object, "e,action,hide,cursor", "e"); > - sd->noedit = 0; > + sd->noedit = 1; > } > > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > enlightenment-svn mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
