[network-manager-applet] trivial: fix code formatting



commit b3cc971d49067a10d3dc902458f2d0accfe56ab2
Author: JiÅÃ KlimeÅ <jklimes redhat com>
Date:   Thu Aug 30 12:21:25 2012 +0200

    trivial: fix code formatting

 src/connection-editor/page-dsl.c      |    8 ++++----
 src/connection-editor/page-ethernet.c |   16 ++++++++--------
 src/connection-editor/page-ip4.c      |   16 ++++++++--------
 src/connection-editor/page-ip6.c      |    6 +++---
 src/connection-editor/page-mobile.c   |   18 +++++++++---------
 src/connection-editor/page-wifi.c     |   22 +++++++++++-----------
 6 files changed, 43 insertions(+), 43 deletions(-)
---
diff --git a/src/connection-editor/page-dsl.c b/src/connection-editor/page-dsl.c
index 08d0f01..fe1f007 100644
--- a/src/connection-editor/page-dsl.c
+++ b/src/connection-editor/page-dsl.c
@@ -180,10 +180,10 @@ ui_to_setting (CEPageDsl *self)
 		service = NULL;
 
 	g_object_set (priv->setting,
-				  NM_SETTING_PPPOE_USERNAME, username,
-				  NM_SETTING_PPPOE_PASSWORD, password,
-				  NM_SETTING_PPPOE_SERVICE, service,
-				  NULL);
+	              NM_SETTING_PPPOE_USERNAME, username,
+	              NM_SETTING_PPPOE_PASSWORD, password,
+	              NM_SETTING_PPPOE_SERVICE, service,
+	              NULL);
 }
 
 static gboolean
diff --git a/src/connection-editor/page-ethernet.c b/src/connection-editor/page-ethernet.c
index 985388d..46c5875 100644
--- a/src/connection-editor/page-ethernet.c
+++ b/src/connection-editor/page-ethernet.c
@@ -343,14 +343,14 @@ ui_to_setting (CEPageEthernet *self)
 	cloned_mac = ce_page_entry_to_mac (priv->cloned_mac, ARPHRD_ETHER, NULL);
 
 	g_object_set (priv->setting,
-				  NM_SETTING_WIRED_MAC_ADDRESS, device_mac,
-				  NM_SETTING_WIRED_CLONED_MAC_ADDRESS, cloned_mac,
-				  NM_SETTING_WIRED_PORT, port,
-				  NM_SETTING_WIRED_SPEED, speed,
-				  NM_SETTING_WIRED_DUPLEX, gtk_toggle_button_get_active (priv->duplex) ? "full" : "half",
-				  NM_SETTING_WIRED_AUTO_NEGOTIATE, gtk_toggle_button_get_active (priv->autonegotiate),
-				  NM_SETTING_WIRED_MTU, (guint32) gtk_spin_button_get_value_as_int (priv->mtu),
-				  NULL);
+	              NM_SETTING_WIRED_MAC_ADDRESS, device_mac,
+	              NM_SETTING_WIRED_CLONED_MAC_ADDRESS, cloned_mac,
+	              NM_SETTING_WIRED_PORT, port,
+	              NM_SETTING_WIRED_SPEED, speed,
+	              NM_SETTING_WIRED_DUPLEX, gtk_toggle_button_get_active (priv->duplex) ? "full" : "half",
+	              NM_SETTING_WIRED_AUTO_NEGOTIATE, gtk_toggle_button_get_active (priv->autonegotiate),
+	              NM_SETTING_WIRED_MTU, (guint32) gtk_spin_button_get_value_as_int (priv->mtu),
+	              NULL);
 
 	if (device_mac)
 		g_byte_array_free (device_mac, TRUE);
diff --git a/src/connection-editor/page-ip4.c b/src/connection-editor/page-ip4.c
index 1ee1e41..8fd2c7c 100644
--- a/src/connection-editor/page-ip4.c
+++ b/src/connection-editor/page-ip4.c
@@ -1181,14 +1181,14 @@ ui_to_setting (CEPageIP4 *self)
 
 	/* Update setting */
 	g_object_set (priv->setting,
-				  NM_SETTING_IP4_CONFIG_METHOD, method,
-				  NM_SETTING_IP4_CONFIG_ADDRESSES, addresses,
-				  NM_SETTING_IP4_CONFIG_DNS, dns_servers,
-				  NM_SETTING_IP4_CONFIG_DNS_SEARCH, search_domains,
-				  NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS, ignore_auto_dns,
-				  NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID, dhcp_client_id,
-				  NM_SETTING_IP4_CONFIG_MAY_FAIL, may_fail,
-				  NULL);
+	              NM_SETTING_IP4_CONFIG_METHOD, method,
+	              NM_SETTING_IP4_CONFIG_ADDRESSES, addresses,
+	              NM_SETTING_IP4_CONFIG_DNS, dns_servers,
+	              NM_SETTING_IP4_CONFIG_DNS_SEARCH, search_domains,
+	              NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS, ignore_auto_dns,
+	              NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID, dhcp_client_id,
+	              NM_SETTING_IP4_CONFIG_MAY_FAIL, may_fail,
+	              NULL);
 	valid = TRUE;
 
 out:
diff --git a/src/connection-editor/page-ip6.c b/src/connection-editor/page-ip6.c
index 94bacf4..829fc6e 100644
--- a/src/connection-editor/page-ip6.c
+++ b/src/connection-editor/page-ip6.c
@@ -1026,9 +1026,9 @@ ui_to_setting (CEPageIP6 *self)
 
 	g_object_freeze_notify (G_OBJECT (priv->setting));
 	g_object_set (priv->setting,
-				  NM_SETTING_IP6_CONFIG_METHOD, method,
-				  NM_SETTING_IP6_CONFIG_IGNORE_AUTO_DNS, ignore_auto_dns,
-				  NULL);
+	              NM_SETTING_IP6_CONFIG_METHOD, method,
+	              NM_SETTING_IP6_CONFIG_IGNORE_AUTO_DNS, ignore_auto_dns,
+	              NULL);
 
 	/* IP addresses */
 	nm_setting_ip6_config_clear_addresses (priv->setting);
diff --git a/src/connection-editor/page-mobile.c b/src/connection-editor/page-mobile.c
index 14fcb56..f1366c3 100644
--- a/src/connection-editor/page-mobile.c
+++ b/src/connection-editor/page-mobile.c
@@ -447,15 +447,15 @@ gsm_ui_to_setting (CEPageMobile *self)
 	roaming_allowed = gtk_toggle_button_get_active (priv->roaming_allowed);
 
 	g_object_set (priv->setting,
-				  NM_SETTING_GSM_NUMBER,       nm_entry_get_text (priv->number),
-				  NM_SETTING_GSM_USERNAME,     nm_entry_get_text (priv->username),
-				  NM_SETTING_GSM_PASSWORD,     nm_entry_get_text (priv->password),
-				  NM_SETTING_GSM_APN,          nm_entry_get_text (priv->apn),
-				  NM_SETTING_GSM_NETWORK_ID,   nm_entry_get_text (priv->network_id),
-				  NM_SETTING_GSM_NETWORK_TYPE, net_type,
-				  NM_SETTING_GSM_PIN,          nm_entry_get_text (priv->pin),
-				  NM_SETTING_GSM_HOME_ONLY,    !roaming_allowed,
-				  NULL);
+	              NM_SETTING_GSM_NUMBER,       nm_entry_get_text (priv->number),
+	              NM_SETTING_GSM_USERNAME,     nm_entry_get_text (priv->username),
+	              NM_SETTING_GSM_PASSWORD,     nm_entry_get_text (priv->password),
+	              NM_SETTING_GSM_APN,          nm_entry_get_text (priv->apn),
+	              NM_SETTING_GSM_NETWORK_ID,   nm_entry_get_text (priv->network_id),
+	              NM_SETTING_GSM_NETWORK_TYPE, net_type,
+	              NM_SETTING_GSM_PIN,          nm_entry_get_text (priv->pin),
+	              NM_SETTING_GSM_HOME_ONLY,    !roaming_allowed,
+	              NULL);
 }
 
 static void
diff --git a/src/connection-editor/page-wifi.c b/src/connection-editor/page-wifi.c
index be7449f..470c454 100644
--- a/src/connection-editor/page-wifi.c
+++ b/src/connection-editor/page-wifi.c
@@ -536,17 +536,17 @@ ui_to_setting (CEPageWifi *self)
 	cloned_mac = ce_page_entry_to_mac (priv->cloned_mac, ARPHRD_ETHER, NULL);
 
 	g_object_set (priv->setting,
-				  NM_SETTING_WIRELESS_SSID, ssid,
-				  NM_SETTING_WIRELESS_BSSID, bssid,
-				  NM_SETTING_WIRELESS_MAC_ADDRESS, device_mac,
-				  NM_SETTING_WIRELESS_CLONED_MAC_ADDRESS, cloned_mac,
-				  NM_SETTING_WIRELESS_MODE, mode,
-				  NM_SETTING_WIRELESS_BAND, band,
-				  NM_SETTING_WIRELESS_CHANNEL, gtk_spin_button_get_value_as_int (priv->channel),
-				  NM_SETTING_WIRELESS_RATE, gtk_spin_button_get_value_as_int (priv->rate),
-				  NM_SETTING_WIRELESS_TX_POWER, gtk_spin_button_get_value_as_int (priv->tx_power),
-				  NM_SETTING_WIRELESS_MTU, gtk_spin_button_get_value_as_int (priv->mtu),
-				  NULL);
+	              NM_SETTING_WIRELESS_SSID, ssid,
+	              NM_SETTING_WIRELESS_BSSID, bssid,
+	              NM_SETTING_WIRELESS_MAC_ADDRESS, device_mac,
+	              NM_SETTING_WIRELESS_CLONED_MAC_ADDRESS, cloned_mac,
+	              NM_SETTING_WIRELESS_MODE, mode,
+	              NM_SETTING_WIRELESS_BAND, band,
+	              NM_SETTING_WIRELESS_CHANNEL, gtk_spin_button_get_value_as_int (priv->channel),
+	              NM_SETTING_WIRELESS_RATE, gtk_spin_button_get_value_as_int (priv->rate),
+	              NM_SETTING_WIRELESS_TX_POWER, gtk_spin_button_get_value_as_int (priv->tx_power),
+	              NM_SETTING_WIRELESS_MTU, gtk_spin_button_get_value_as_int (priv->mtu),
+	              NULL);
 
 	if (ssid)
 		g_byte_array_free (ssid, TRUE);



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