Making system scope the default one
- From: Ozan Çağlayan <ozan pardus org tr>
- To: networkmanager-list gnome org
- Subject: Making system scope the default one
- Date: Sat, 23 Oct 2010 14:11:48 +0300
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?
Thanks
Ozan Caglayan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]