On Sat, 2010-10-23 at 14:11 +0300, Ozan Çağlayan wrote:
> Hi,
> 
> I want to modify nm-applet to use the system connections by default instead 
> of the user-based connections. I don't have any GTK+ experience, tried a 
> little bit but no hope.
> 
> All I want to do is to invert the default state of the 'Available to all 
> users' checkbox to True so that it comes toggled and the buttons are 
> polkit-aware. I modified the glade file and added a property active which is 
> 'True', but I have to trigger the relevant callback in nm-connection-editor.c 
> so that the UI is re-populated. Tried calling the toggled callback by hand or 
> calling gtk_button_set_active() but nope. There are (editor->orig_scope == ) 
> checks in the code which I think reverts the active state of the checkbox 
> back to False I don't know why.
> 
> Can someone help me? And will defaulting to system scope break things in NM?

This will also be more or less fixed more elegantly in NM 0.9.

Dan


_______________________________________________
networkmanager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to