|
|
1a3c6fa |
diff -up NetworkManager-0.7.0/nm-applet-0.7.0/src/connection-editor/nm-connection-editor.c.disable-system NetworkManager-0.7.0/nm-applet-0.7.0/src/connection-editor/nm-connection-editor.c
|
|
|
1a3c6fa |
--- NetworkManager-0.7.0/nm-applet-0.7.0/src/connection-editor/nm-connection-editor.c.disable-system 2008-05-13 17:08:31.000000000 -0400
|
|
|
1a3c6fa |
+++ NetworkManager-0.7.0/nm-applet-0.7.0/src/connection-editor/nm-connection-editor.c 2008-05-13 17:09:16.000000000 -0400
|
|
|
1a3c6fa |
@@ -316,6 +316,8 @@ populate_connection_ui (NMConnectionEdit
|
|
|
1a3c6fa |
gtk_entry_set_text (GTK_ENTRY (name), NULL);
|
|
|
1a3c6fa |
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (autoconnect), FALSE);
|
|
|
1a3c6fa |
}
|
|
|
1a3c6fa |
+
|
|
|
1a3c6fa |
+ gtk_widget_set_sensitive (GTK_WIDGET (system), FALSE);
|
|
|
1a3c6fa |
}
|
|
|
1a3c6fa |
|
|
|
1a3c6fa |
static void
|
|
|
1a3c6fa |
diff -up NetworkManager-0.7.0/nm-applet-0.7.0/src/connection-editor/nm-connection-list.c.disable-system NetworkManager-0.7.0/nm-applet-0.7.0/src/connection-editor/nm-connection-list.c
|
|
|
1a3c6fa |
--- NetworkManager-0.7.0/nm-applet-0.7.0/src/connection-editor/nm-connection-list.c.disable-system 2008-05-13 17:10:27.000000000 -0400
|
|
|
1a3c6fa |
+++ NetworkManager-0.7.0/nm-applet-0.7.0/src/connection-editor/nm-connection-list.c 2008-05-13 17:11:26.000000000 -0400
|
|
|
1a3c6fa |
@@ -1158,8 +1158,10 @@ NMConnectionList *
|
|
|
1a3c6fa |
nm_connection_list_new (void)
|
|
|
1a3c6fa |
{
|
|
|
1a3c6fa |
NMConnectionList *list;
|
|
|
1a3c6fa |
+#if 0
|
|
|
1a3c6fa |
DBusGConnection *dbus_connection;
|
|
|
1a3c6fa |
+#endif
|
|
|
1a3c6fa |
GError *error = NULL;
|
|
|
1a3c6fa |
|
|
|
1a3c6fa |
list = g_object_new (NM_TYPE_CONNECTION_LIST, NULL);
|
|
|
1a3c6fa |
if (!list)
|
|
|
1a3c6fa |
@@ -1185,6 +1187,7 @@ nm_connection_list_new (void)
|
|
|
1a3c6fa |
if (!list->client)
|
|
|
1a3c6fa |
goto error;
|
|
|
1a3c6fa |
|
|
|
1a3c6fa |
+#if 0
|
|
|
1a3c6fa |
dbus_connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
|
|
|
1a3c6fa |
if (error) {
|
|
|
1a3c6fa |
g_warning ("Could not connect to the system bus: %s", error->message);
|
|
|
1a3c6fa |
@@ -1197,6 +1200,7 @@ nm_connection_list_new (void)
|
|
|
1a3c6fa |
g_signal_connect (list->system_settings, "new-connection",
|
|
|
1a3c6fa |
G_CALLBACK (connection_added),
|
|
|
1a3c6fa |
list);
|
|
|
1a3c6fa |
+#endif
|
|
|
1a3c6fa |
|
|
|
1a3c6fa |
list->gconf_settings = nma_gconf_settings_new ();
|
|
|
1a3c6fa |
g_signal_connect (list->gconf_settings, "new-connection",
|