[nautilus-actions] Add files which were forgotten in 2.99.0 latest unstable



commit f74341f3cff110e776b694d29a75dc18585c94f8
Author: Pierre Wieser <pwieser trychlos org>
Date:   Fri Jul 30 00:32:54 2010 +0200

    Add files which were forgotten in 2.99.0 latest unstable

 ChangeLog                     |    4 +++
 src/io-desktop/nadp-formats.c |   55 +++++++++++++++++++++++++++++++++++++++++
 src/io-desktop/nadp-formats.h |   40 +++++++++++++++++++++++++++++
 3 files changed, 99 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 750e4f5..7bf6f4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-07-29 Pierre Wieser <pwieser trychlos org>
 
+	* src/io-desktop/nadp-formats.c:
+	* src/io-desktop/nadp-formats.h: New files.
+	These should have been added to 2.99.0, but where forgotten.
+
 	* docs/nact/Makefile.am: New file.
 
 	* configure.ac:
diff --git a/src/io-desktop/nadp-formats.c b/src/io-desktop/nadp-formats.c
new file mode 100644
index 0000000..3934a67
--- /dev/null
+++ b/src/io-desktop/nadp-formats.c
@@ -0,0 +1,55 @@
+/*
+ * Nautilus Actions
+ * A Nautilus extension which offers configurable context menu actions.
+ *
+ * Copyright (C) 2005 The GNOME Foundation
+ * Copyright (C) 2006, 2007, 2008 Frederic Ruaudel and others (see AUTHORS)
+ * Copyright (C) 2009, 2010 Pierre Wieser and others (see AUTHORS)
+ *
+ * This Program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This Program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this Library; see the file COPYING.  If not,
+ * write to the Free Software Foundation, Inc., 59 Temple Place,
+ * Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * Authors:
+ *   Frederic Ruaudel <grumz grumz net>
+ *   Rodrigo Moya <rodrigo gnome-db org>
+ *   Pierre Wieser <pwieser trychlos org>
+ *   ... and many others (see AUTHORS)
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <glib/gi18n.h>
+
+#include <api/na-iexporter.h>
+
+#include "nadp-formats.h"
+
+NAIExporterFormat nadp_formats[] = {
+
+	/* DESKTOP_V1: the initial desktop format as described in
+	 * http://www.nautilus-actions.org/?q=node/377
+	 */
+	{ NADP_FORMAT_DESKTOP_V1,
+			N_( "Export as a ._desktop file" ),
+			N_( "This format let you easily share your actions with others, including other desktop environments.\n" \
+				"The exported .desktop file may later be imported via :\n" \
+				"- Import assistant of the Nautilus Actions Configuration Tool,\n" \
+				"- drag-n-drop into the Nautilus Actions Configuration Tool,\n" \
+				"- or by copying it into a XDG_DATA_DIRS/file-manager/actions directory." ) },
+
+	{ NULL }
+};
diff --git a/src/io-desktop/nadp-formats.h b/src/io-desktop/nadp-formats.h
new file mode 100644
index 0000000..c791348
--- /dev/null
+++ b/src/io-desktop/nadp-formats.h
@@ -0,0 +1,40 @@
+/*
+ * Nautilus Actions
+ * A Nautilus extension which offers configurable context menu actions.
+ *
+ * Copyright (C) 2005 The GNOME Foundation
+ * Copyright (C) 2006, 2007, 2008 Frederic Ruaudel and others (see AUTHORS)
+ * Copyright (C) 2009, 2010 Pierre Wieser and others (see AUTHORS)
+ *
+ * This Program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This Program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this Library; see the file COPYING.  If not,
+ * write to the Free Software Foundation, Inc., 59 Temple Place,
+ * Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * Authors:
+ *   Frederic Ruaudel <grumz grumz net>
+ *   Rodrigo Moya <rodrigo gnome-db org>
+ *   Pierre Wieser <pwieser trychlos org>
+ *   ... and many others (see AUTHORS)
+ */
+
+#ifndef __NADP_FORMATS_H__
+#define __NADP_FORMATS_H__
+
+G_BEGIN_DECLS
+
+#define NADP_FORMAT_DESKTOP_V1			"Desktop1"
+
+G_END_DECLS
+
+#endif /* __NAXML_FORMATS_H__ */



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