[tepl/wip/edit-menu] Edit actions: implement win.tepl-select-all GAction
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl/wip/edit-menu] Edit actions: implement win.tepl-select-all GAction
- Date: Tue, 11 Jul 2017 14:30:37 +0000 (UTC)
commit 0bdee3a05e03565820b5df92bea21c91c9175c2a
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Jul 11 16:27:23 2017 +0200
Edit actions: implement win.tepl-select-all GAction
docs/reference/Makefile.am | 15 ++++++++-------
po/POTFILES.in | 1 +
tepl/Makefile.am | 28 +++++++++++++++-------------
tepl/tepl-application-window-actions.c | 24 ++++++++++++++++++++++++
tepl/tepl-application-window-actions.h | 31 +++++++++++++++++++++++++++++++
5 files changed, 79 insertions(+), 20 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index ab0c71a..a2d878d 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -23,13 +23,14 @@ CFILE_GLOB = $(top_srcdir)/tepl/*.c
# Header files or dirs to ignore when scanning. Use base file/dir names
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
-IGNORE_HFILES = \
- tepl.h \
- tepl-buffer-input-stream.h \
- tepl-encoding-converter.h \
- tepl-encoding-private.h \
- tepl-file-content-loader.h \
- tepl-io-error-info-bar.h \
+IGNORE_HFILES = \
+ tepl.h \
+ tepl-application-window-actions.h \
+ tepl-buffer-input-stream.h \
+ tepl-encoding-converter.h \
+ tepl-encoding-private.h \
+ tepl-file-content-loader.h \
+ tepl-io-error-info-bar.h \
tepl-progress-info-bar.h
# Extra options to supply to gtkdoc-mkdb
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 7ca7415..b8f60b9 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -5,6 +5,7 @@ tepl/tepl-action-info-store.c
tepl/tepl-action-map.c
tepl/tepl-application.c
tepl/tepl-application-window.c
+tepl/tepl-application-window-actions.c
tepl/tepl-buffer.c
tepl/tepl-buffer-input-stream.c
tepl/tepl-encoding.c
diff --git a/tepl/Makefile.am b/tepl/Makefile.am
index ebfa007..b35ca51 100644
--- a/tepl/Makefile.am
+++ b/tepl/Makefile.am
@@ -64,21 +64,23 @@ tepl_public_c_files = \
tepl-utils.c \
tepl-view.c
-tepl_private_headers = \
- gconstructor.h \
- tepl-buffer-input-stream.h \
- tepl-encoding-converter.h \
- tepl-encoding-private.h \
- tepl-file-content-loader.h \
- tepl-io-error-info-bar.h \
+tepl_private_headers = \
+ gconstructor.h \
+ tepl-application-window-actions.h \
+ tepl-buffer-input-stream.h \
+ tepl-encoding-converter.h \
+ tepl-encoding-private.h \
+ tepl-file-content-loader.h \
+ tepl-io-error-info-bar.h \
tepl-progress-info-bar.h
-tepl_private_c_files = \
- tepl-buffer-input-stream.c \
- tepl-encoding-converter.c \
- tepl-file-content-loader.c \
- tepl-init.c \
- tepl-io-error-info-bar.c \
+tepl_private_c_files = \
+ tepl-application-window-actions.c \
+ tepl-buffer-input-stream.c \
+ tepl-encoding-converter.c \
+ tepl-file-content-loader.c \
+ tepl-init.c \
+ tepl-io-error-info-bar.c \
tepl-progress-info-bar.c
tepl_built_public_headers = \
diff --git a/tepl/tepl-application-window-actions.c b/tepl/tepl-application-window-actions.c
new file mode 100644
index 0000000..58c0ab9
--- /dev/null
+++ b/tepl/tepl-application-window-actions.c
@@ -0,0 +1,24 @@
+/*
+ * This file is part of Tepl, a text editor library.
+ *
+ * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
+ *
+ * Tepl is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the
+ * Free Software Foundation; either version 2.1 of the License, or (at your
+ * option) any later version.
+ *
+ * Tepl is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "tepl-application-window-actions.h"
+
+/* GAction implementations for TeplApplicationWindow. This is implemented in a
+ * separate file to not clutter TeplApplicationWindow.
+ */
diff --git a/tepl/tepl-application-window-actions.h b/tepl/tepl-application-window-actions.h
new file mode 100644
index 0000000..4de8948
--- /dev/null
+++ b/tepl/tepl-application-window-actions.h
@@ -0,0 +1,31 @@
+/*
+ * This file is part of Tepl, a text editor library.
+ *
+ * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
+ *
+ * Tepl is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the
+ * Free Software Foundation; either version 2.1 of the License, or (at your
+ * option) any later version.
+ *
+ * Tepl is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef TEPL_APPLICATION_WINDOW_ACTIONS_H
+#define TEPL_APPLICATION_WINDOW_ACTIONS_H
+
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+G_END_DECLS
+
+#endif /* TEPL_APPLICATION_WINDOW_ACTIONS_H */
+
+/* ex:set ts=8 noet: */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]