[network-manager-netbook/MplPanelClient: 40/44] fix saving autoconnect settings
- From: Tambet Ingo <tambeti src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [network-manager-netbook/MplPanelClient: 40/44] fix saving autoconnect settings
- Date: Tue, 10 Nov 2009 14:13:04 +0000 (UTC)
commit 824d582afcc26e5c0b8bd23885053932608430cf
Author: Dan Williams <dcbw redhat com>
Date: Wed Sep 30 09:35:40 2009 -0700
fix saving autoconnect settings
src/nmn-ethernet-item.c | 2 +-
src/nmn-wifi-item.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nmn-ethernet-item.c b/src/nmn-ethernet-item.c
index c6edfbd..0e377d8 100644
--- a/src/nmn-ethernet-item.c
+++ b/src/nmn-ethernet-item.c
@@ -99,7 +99,7 @@ update_autoconnect (NmnNetworkItem *item, gboolean connect_automatically)
return FALSE;
g_object_set (s_con, NM_SETTING_CONNECTION_AUTOCONNECT, connect_automatically, NULL);
- nm_settings_connection_interface_update (NM_SETTINGS_CONNECTION_INTERFACE (s_con),
+ nm_settings_connection_interface_update (NM_SETTINGS_CONNECTION_INTERFACE (connection),
update_cb,
item);
diff --git a/src/nmn-wifi-item.c b/src/nmn-wifi-item.c
index 77b9220..1c0009d 100644
--- a/src/nmn-wifi-item.c
+++ b/src/nmn-wifi-item.c
@@ -461,7 +461,7 @@ update_autoconnect (NmnNetworkItem *item, gboolean connect_automatically)
g_object_set (s_con, NM_SETTING_CONNECTION_AUTOCONNECT, connect_automatically, NULL);
- nm_settings_connection_interface_update (NM_SETTINGS_CONNECTION_INTERFACE (s_con),
+ nm_settings_connection_interface_update (NM_SETTINGS_CONNECTION_INTERFACE (connection),
update_cb,
item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]