[network-manager-applet: 1/6] connection-editor: rename new-connection.c to connection-helpers.c



commit 23a475ae181acd57c492bdbe4e39bab939026cf0
Author: Dan Winship <danw gnome org>
Date:   Fri Jul 25 08:34:28 2014 -0400

    connection-editor: rename new-connection.c to connection-helpers.c
    
    Originally this file only had the new_connection* stuff in it, but
    later it got delete_connection() too and was supposed to have been
    renamed (the multiple-include guard in the header was already
    "__CONNECTION_HELPERS_H__"), but apparently I forgot to rename it...

 src/connection-editor/Makefile.am                  |    4 ++--
 .../{new-connection.c => connection-helpers.c}     |    2 +-
 .../{new-connection.h => connection-helpers.h}     |    0
 src/connection-editor/nm-connection-list.c         |    2 +-
 src/connection-editor/page-bond.c                  |    2 +-
 src/connection-editor/page-bridge.c                |    2 +-
 src/connection-editor/page-master.h                |    2 +-
 src/connection-editor/page-team.c                  |    2 +-
 src/connection-editor/page-vpn.c                   |    2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/connection-editor/Makefile.am b/src/connection-editor/Makefile.am
index 5554c24..89923e7 100644
--- a/src/connection-editor/Makefile.am
+++ b/src/connection-editor/Makefile.am
@@ -78,8 +78,8 @@ nm_connection_editor_SOURCES = \
        ppp-auth-methods-dialog.h \
        ce-polkit-button.c \
        ce-polkit-button.h \
-       new-connection.c \
-       new-connection.h
+       connection-helpers.c \
+       connection-helpers.h
 
 nm-connection-editor-service-glue.h: $(top_srcdir)/src/connection-editor/nm-connection-editor-service.xml
        $(AM_V_GEN) dbus-binding-tool --prefix=nm_connection_editor_service --mode=glib-server --output=$@ $<
diff --git a/src/connection-editor/new-connection.c b/src/connection-editor/connection-helpers.c
similarity index 99%
rename from src/connection-editor/new-connection.c
rename to src/connection-editor/connection-helpers.c
index ed3a742..d346532 100644
--- a/src/connection-editor/new-connection.c
+++ b/src/connection-editor/connection-helpers.c
@@ -22,7 +22,7 @@
 
 #include <glib/gi18n.h>
 
-#include "new-connection.h"
+#include "connection-helpers.h"
 #include "nm-connection-list.h"
 #include "nm-connection-editor.h"
 #include "page-ethernet.h"
diff --git a/src/connection-editor/new-connection.h b/src/connection-editor/connection-helpers.h
similarity index 100%
rename from src/connection-editor/new-connection.h
rename to src/connection-editor/connection-helpers.h
diff --git a/src/connection-editor/nm-connection-list.c b/src/connection-editor/nm-connection-list.c
index ceb7432..1e6846a 100644
--- a/src/connection-editor/nm-connection-list.c
+++ b/src/connection-editor/nm-connection-list.c
@@ -52,7 +52,7 @@
 #include "nm-connection-list.h"
 #include "vpn-helpers.h"
 #include "ce-polkit-button.h"
-#include "new-connection.h"
+#include "connection-helpers.h"
 
 G_DEFINE_TYPE (NMConnectionList, nm_connection_list, G_TYPE_OBJECT)
 
diff --git a/src/connection-editor/page-bond.c b/src/connection-editor/page-bond.c
index 718a398..d05b0b7 100644
--- a/src/connection-editor/page-bond.c
+++ b/src/connection-editor/page-bond.c
@@ -31,7 +31,7 @@
 #include "page-bond.h"
 #include "page-infiniband.h"
 #include "nm-connection-editor.h"
-#include "new-connection.h"
+#include "connection-helpers.h"
 
 G_DEFINE_TYPE (CEPageBond, ce_page_bond, CE_TYPE_PAGE_MASTER)
 
diff --git a/src/connection-editor/page-bridge.c b/src/connection-editor/page-bridge.c
index 0593651..2221e07 100644
--- a/src/connection-editor/page-bridge.c
+++ b/src/connection-editor/page-bridge.c
@@ -30,7 +30,7 @@
 
 #include "page-bridge.h"
 #include "nm-connection-editor.h"
-#include "new-connection.h"
+#include "connection-helpers.h"
 
 G_DEFINE_TYPE (CEPageBridge, ce_page_bridge, CE_TYPE_PAGE_MASTER)
 
diff --git a/src/connection-editor/page-master.h b/src/connection-editor/page-master.h
index 56cc6c4..380d896 100644
--- a/src/connection-editor/page-master.h
+++ b/src/connection-editor/page-master.h
@@ -27,7 +27,7 @@
 #include <glib-object.h>
 
 #include "ce-page.h"
-#include "new-connection.h"
+#include "connection-helpers.h"
 
 #define CE_TYPE_PAGE_MASTER            (ce_page_master_get_type ())
 #define CE_PAGE_MASTER(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), CE_TYPE_PAGE_MASTER, 
CEPageMaster))
diff --git a/src/connection-editor/page-team.c b/src/connection-editor/page-team.c
index 05be62d..26e3432 100644
--- a/src/connection-editor/page-team.c
+++ b/src/connection-editor/page-team.c
@@ -30,7 +30,7 @@
 #include "page-team.h"
 #include "page-infiniband.h"
 #include "nm-connection-editor.h"
-#include "new-connection.h"
+#include "connection-helpers.h"
 
 G_DEFINE_TYPE (CEPageTeam, ce_page_team, CE_TYPE_PAGE_MASTER)
 
diff --git a/src/connection-editor/page-vpn.c b/src/connection-editor/page-vpn.c
index 080b422..81592c8 100644
--- a/src/connection-editor/page-vpn.c
+++ b/src/connection-editor/page-vpn.c
@@ -35,7 +35,7 @@
 #include <nm-vpn-plugin-ui-interface.h>
 
 #include "page-vpn.h"
-#include "new-connection.h"
+#include "connection-helpers.h"
 #include "nm-connection-editor.h"
 #include "vpn-helpers.h"
 


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