On Fri, Jul 15, 2011 at 9:00 AM, Lucas De Marchi <[email protected]> wrote: > Hi Cedric, > > On Fri, Jul 15, 2011 at 6:06 AM, Enlightenment SVN > <[email protected]> wrote: >> Log: >> e: add new connman error message naming. >> >> >> Author: cedric >> Date: 2011-07-15 02:06:38 -0700 (Fri, 15 Jul 2011) >> New Revision: 61394 >> Trac: http://trac.enlightenment.org/e/changeset/61394 >> >> Modified: >> trunk/e/src/modules/connman/e_mod_main.c >> >> Modified: trunk/e/src/modules/connman/e_mod_main.c >> =================================================================== >> --- trunk/e/src/modules/connman/e_mod_main.c 2011-07-15 06:06:03 UTC (rev >> 61393) >> +++ trunk/e/src/modules/connman/e_mod_main.c 2011-07-15 09:06:38 UTC (rev >> 61394) >> @@ -554,8 +554,10 @@ >> >> if (error && dbus_error_is_set(error)) >> { >> - if (strcmp(error->name, >> - "org.moblin.connman.Error.NotConnected") != 0) >> + if ((strcmp(error->name, >> + "org.moblin.connman.Error.NotConnected") != 0) || >> + (strcmp(error->name, >> + "net.connman.Error.NotConnected") != 0)) >> _connman_dbus_error_show(_("Disconnect from network service."), > > Thanks for fixing this, but... what if e_dbus still uses the old naming?
You are treating both errors now... Disregard my last comment. thanks Lucas De Marchi ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
