Re: Problem to add a broadband connection on NetworkManagerUserSettings



On Tue, 2010-01-19 at 16:54 +0100, Jirka Klimes wrote:
> On Tuesday 19 January 2010 16:45:23 Jirka Klimes wrote:
> > On Wednesday 13 January 2010 16:33:27 Maxwell Chiareli Xandeco wrote:
> > > I'm using Ubuntu 9.10, with your code I don't get errors but a
> > > connection is not added, nothing happens when I call AddConnection
> > > method.
> > 
> > I've investigated it a bit and found out that AddConnection is not
> >  supported via D-Bus due to security reasons.
> > (src/gconf-helpers/nma-gconf-settings.c:add_connection() function)
> > 
> 
> Actually, there is an error causing critical error (g_error_new (0, ...))
> 
> g_error_new (0, ...
> (nm-applet:27425): GLib-CRITICAL **: g_error_new: assertion `domain != 0' 
> failed
> (nm-applet:27425): GLib-CRITICAL **: g_error_free: assertion `error != NULL' 
> failed
> 
> The attached patch fixes that. D-Bus then returns an error message on 
> AddConnection.
> Please find also attached test program in python.

Committed, thanks!

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]