[network-manager-applet/aleksander/mm1-applet: 11/13] applet: minor coding style fixes



commit 4d0a90ce5da97fa12e78dbc9c9cf4210754671d8
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Dec 18 12:09:06 2012 +0100

    applet: minor coding style fixes

 src/applet-dialogs.c |    6 +++---
 src/applet.c         |   11 +++++------
 2 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/src/applet-dialogs.c b/src/applet-dialogs.c
index aae2aba..993b827 100644
--- a/src/applet-dialogs.c
+++ b/src/applet-dialogs.c
@@ -135,7 +135,7 @@ get_eap_label (NMSettingWirelessSecurity *sec,
 		g_string_append (str, phase2_str);
 		g_free (phase2_str);
 	}
-	
+
 out:
 	return g_string_free (str, FALSE);
 }
@@ -907,7 +907,7 @@ applet_info_dialog_show (NMApplet *applet)
 }
 
 #if !GTK_CHECK_VERSION(2,23,0)
-static void 
+static void
 about_dialog_handle_url_cb (GtkAboutDialog *about, const gchar *url, gpointer data)
 {
 	gboolean ret;
@@ -1002,7 +1002,7 @@ applet_mobile_password_dialog_new (NMConnection *connection,
 	gtk_box_pack_start (vbox, w, TRUE, TRUE, 0);
 
 #if GTK_CHECK_VERSION(3,1,6)
-        box = GTK_BOX (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6));
+	box = GTK_BOX (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6));
 #else
 	box = GTK_BOX (gtk_hbox_new (FALSE, 6));
 #endif
diff --git a/src/applet.c b/src/applet.c
index 21b549f..af2f242 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -948,7 +948,7 @@ void applet_do_notify_with_pref (NMApplet *applet,
 {
 	if (g_settings_get_boolean (applet->gsettings, pref))
 		return;
-	
+
 	applet_do_notify (applet, NOTIFY_URGENCY_LOW, summary, message, icon, pref,
 	                  _("Don't show this message again"),
 	                  notify_dont_show_cb,
@@ -1257,7 +1257,7 @@ nma_menu_vpn_item_clicked (GtkMenuItem *item, gpointer user_data)
 	                               activate_vpn_cb,
 	                               info);
 	start_animation_timeout (applet);
-		
+
 //	nmi_dbus_signal_user_interface_activated (applet->connection);
 }
 
@@ -1736,7 +1736,7 @@ nma_menu_add_vpn_submenu (GtkWidget *menu, NMApplet *applet)
 			gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
 		}
 
-		g_object_set_data_full (G_OBJECT (item), "connection", 
+		g_object_set_data_full (G_OBJECT (item), "connection",
 						    g_object_ref (connection),
 						    (GDestroyNotify) g_object_unref);
 
@@ -3179,7 +3179,7 @@ static void
 status_icon_activate_cb (GtkStatusIcon *icon, NMApplet *applet)
 {
 	/* Have clicking on the applet act also as acknowledgement
-	 * of the notification. 
+	 * of the notification.
 	 */
 	applet_clear_notify (applet);
 
@@ -3209,7 +3209,7 @@ status_icon_popup_menu_cb (GtkStatusIcon *icon,
                            NMApplet *applet)
 {
 	/* Have clicking on the applet act also as acknowledgement
-	 * of the notification. 
+	 * of the notification.
 	 */
 	applet_clear_notify (applet);
 
@@ -3573,4 +3573,3 @@ nm_applet_new (GMainLoop *loop)
 {
 	return g_object_new (NM_TYPE_APPLET, "loop", loop, NULL);
 }
-



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