[nautilus-actions] Create a new data/actions subdirectory



commit 7ea6e08de4b5cd5327eeae8a2c1ccffd8a60f2e9
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sun Aug 15 19:59:29 2010 +0200

    Create a new data/actions subdirectory

 ChangeLog                            |    8 ++++++++
 configure.ac                         |    1 +
 data/actions/Makefile.am             |   27 +++++++++++++++++++++++++++
 data/actions/README                  |   13 +++++++++++++
 data/actions/show-parameters.desktop |   12 ++++++++++++
 5 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c643611..6b4db08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2010-08-15 Pierre Wieser <pwieser trychlos org>
 
+	Create a new data/actions subdirectory.
+
+	* configure.ac:
+	* data/Makefile.am: Updated accordingly.
+
+	* data/actions/Makefile.am:
+	* data/actions/README: New files.
+
 	Move schemas into a new subdirectory data/gconf-schemas.
 
 	* configure.ac:
diff --git a/configure.ac b/configure.ac
index 2034a35..96efa48 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,7 @@ AC_CONFIG_HEADERS([src/config.h])
 AC_CONFIG_FILES([
 	Makefile
 	data/Makefile
+	data/actions/Makefile
 	data/exports/Makefile
 	data/gconf-schemas/Makefile
 	doc/Makefile
diff --git a/data/actions/Makefile.am b/data/actions/Makefile.am
new file mode 100644
index 0000000..93cbc52
--- /dev/null
+++ b/data/actions/Makefile.am
@@ -0,0 +1,27 @@
+# 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)
diff --git a/data/actions/README b/data/actions/README
new file mode 100644
index 0000000..fa00114
--- /dev/null
+++ b/data/actions/README
@@ -0,0 +1,13 @@
+data/actions
+------------
+This directory contains some .desktop files as examples of actions or menus.
+Actions cited in the Nautilus-Actions Configuration Tool user's manual are
+in particular here.
+There is some rather common actions which could be used as starting examples
+by the user.
+
+All actions in this directory are marked as 'disabled'. The packager is so
+free to install them in XDG_DATA_DIRS/file-manager/actions without cluttering
+the file manager itself.
+
+P. Wieser, Aug. 2010.
diff --git a/data/actions/show-parameters.desktop b/data/actions/show-parameters.desktop
new file mode 100644
index 0000000..8bb0070
--- /dev/null
+++ b/data/actions/show-parameters.desktop
@@ -0,0 +1,12 @@
+
+[Desktop Entry]
+Type=Action
+ToolbarLabel[en_US.UTF-8]=List Parameters
+Icon[en_US.UTF-8]=/usr/share/icons/hicolor/16x16/apps/nautilus-actions.png
+Name[en_US.UTF-8]=List Parameters
+Profiles=profile-pre-v2;
+
+[X-Action-Profile profile-pre-v2]
+Exec=zenity --list --text="Nautilus Action Parameters for the selected items:" --column="Parameter" --column="Token" --column="Value" "Gnome-vfs URI" %%u "%u" "Hostname" %%h "%h" "Base folder" %%d "%d" "Scheme" %%s "%s" "Username" %%U "%U" "First item selected" %%f "%f" "Selected items" %%M "%M" "Basenames" %%m "%m" --height=370 --print-column=2
+Schemes=file;sftp;smb;ftp;dav;ssh;x-nautilus-desktop;symlink;
+Name[en_US.UTF-8]=Profile automatically created from pre-v2 action



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