[network-manager-fortisslvpn/th/gtk-split-and-log-bgo771544: 14/26] properties: rename file "nm-fortisslvpn.c" to "nm-fortisslvpn-editor.c"
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-fortisslvpn/th/gtk-split-and-log-bgo771544: 14/26] properties: rename file "nm-fortisslvpn.c" to "nm-fortisslvpn-editor.c"
- Date: Mon, 19 Sep 2016 07:39:38 +0000 (UTC)
commit 9d3338a9993883b8b285f67867d9e47cb1c23007
Author: Thomas Haller <thaller redhat com>
Date: Fri Sep 16 14:26:51 2016 +0200
properties: rename file "nm-fortisslvpn.c" to "nm-fortisslvpn-editor.c"
Originally, "nm-fortisslvpn.c" contained both the NMVpnEditorPlugin
and NMVpnEditor implementation. The former now moved to
"nm-fortisslvpn-editor-plugin.c", so rename the file to reflect that this is
the NMVpnEditor.
po/POTFILES.in | 2 +-
properties/Makefile.am | 4 ++--
properties/nm-fortisslvpn-editor-plugin.c | 2 +-
.../{nm-fortisslvpn.c => nm-fortisslvpn-editor.c} | 5 +----
.../{nm-fortisslvpn.h => nm-fortisslvpn-editor.h} | 9 +++------
5 files changed, 8 insertions(+), 14 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index f416ccd..d196f93 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -3,7 +3,7 @@
appdata/network-manager-fortisslvpn.metainfo.xml.in
auth-dialog/main.c
properties/nm-fortisslvpn-editor-plugin.c
-properties/nm-fortisslvpn.c
+properties/nm-fortisslvpn-editor.c
shared/nm-utils/nm-shared-utils.c
shared/nm-utils/nm-vpn-plugin-utils.c
src/nm-fortisslvpn-service.c
diff --git a/properties/Makefile.am b/properties/Makefile.am
index 13ee6e3..bc0e9ca 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -12,8 +12,8 @@ shared_sources = \
plugin_sources = \
nm-fortisslvpn-editor-plugin.c \
nm-fortisslvpn-editor-plugin.h \
- nm-fortisslvpn.c \
- nm-fortisslvpn.h
+ nm-fortisslvpn-editor.c \
+ nm-fortisslvpn-editor.h
uidir = $(datadir)/gnome-vpn-properties/fortisslvpn
ui_DATA = nm-fortisslvpn-dialog.ui
diff --git a/properties/nm-fortisslvpn-editor-plugin.c b/properties/nm-fortisslvpn-editor-plugin.c
index a212068..b16228d 100644
--- a/properties/nm-fortisslvpn-editor-plugin.c
+++ b/properties/nm-fortisslvpn-editor-plugin.c
@@ -29,7 +29,7 @@
#include <stdlib.h>
#include <string.h>
-#include "nm-fortisslvpn.h"
+#include "nm-fortisslvpn-editor.h"
#define FORTISSLVPN_PLUGIN_NAME _("Fortinet SSLVPN")
#define FORTISSLVPN_PLUGIN_DESC _("Compatible with Fortinet SSLVPN servers.")
diff --git a/properties/nm-fortisslvpn.c b/properties/nm-fortisslvpn-editor.c
similarity index 99%
rename from properties/nm-fortisslvpn.c
rename to properties/nm-fortisslvpn-editor.c
index 02380c7..b672de2 100644
--- a/properties/nm-fortisslvpn.c
+++ b/properties/nm-fortisslvpn-editor.c
@@ -1,6 +1,4 @@
/***************************************************************************
- * nm-fortisslvpn.c : GNOME UI dialogs for configuring SSLVPN connections
- *
* Copyright (C) 2015 Lubomir Rintel <lkundrak v3 sk>
* Copyright (C) 2008 Dan Williams, <dcbw redhat com>
* Copyright (C) 2008 - 2011 Red Hat, Inc.
@@ -19,12 +17,11 @@
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
**************************************************************************/
#include "nm-default.h"
-#include "nm-fortisslvpn.h"
+#include "nm-fortisslvpn-editor.h"
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/properties/nm-fortisslvpn.h b/properties/nm-fortisslvpn-editor.h
similarity index 91%
rename from properties/nm-fortisslvpn.h
rename to properties/nm-fortisslvpn-editor.h
index 508813d..6022edd 100644
--- a/properties/nm-fortisslvpn.h
+++ b/properties/nm-fortisslvpn-editor.h
@@ -1,6 +1,4 @@
/***************************************************************************
- * nm-fortisslvpn.h : GNOME UI dialogs for configuring fortisslvpn VPN connections
- *
* Copyright (C) 2015 Lubomir Rintel <lkundrak v3 sk>
* Copyright (C) 2008 Dan Williams, <dcbw redhat com>
*
@@ -17,11 +15,10 @@
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
**************************************************************************/
-#ifndef _NM_FORTISSLVPN_H_
-#define _NM_FORTISSLVPN_H_
+#ifndef __NM_FORTISSLVPN_EDITOR_H__
+#define __NM_FORTISSLVPN_EDITOR_H__
#define FORTISSLVPN_TYPE_EDITOR (fortisslvpn_editor_get_type ())
#define FORTISSLVPN_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FORTISSLVPN_TYPE_EDITOR,
FortisslvpnEditor))
@@ -45,4 +42,4 @@ GType fortisslvpn_editor_get_type (void);
NMVpnEditor *nm_fortisslvpn_editor_new (NMConnection *connection, GError **error);
-#endif /* _NM_FORTISSLVPN_H_ */
+#endif /* __NM_FORTISSLVPN_EDITOR_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]