[Xfce4-commits] [xfce/thunar] 01/02: Remove superfluous shell script "ThunarBulkRename" (Bug #15373)

noreply at xfce.org noreply at xfce.org
Tue Jun 4 21:58:15 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   l   e   x       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit 7bb356d918eb4a8b2aa26ab600738edb7cb48eec
Author: Alexander Schwinn <alexxcons at xfce.org>
Date:   Mon Jun 3 23:44:55 2019 +0200

    Remove superfluous shell script "ThunarBulkRename"
    (Bug #15373)
---
 .gitignore                       |  1 -
 Makefile.am                      | 15 ---------------
 Thunar-bulk-rename.desktop.in.in |  2 +-
 ThunarBulkRename.in              | 25 -------------------------
 4 files changed, 1 insertion(+), 42 deletions(-)

diff --git a/.gitignore b/.gitignore
index 448ddca..6d95f16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,7 +34,6 @@ core
 org.xfce.thunar.appdata.xml
 thunar.appdata.xml
 gtk-doc.make
-ThunarBulkRename
 Thunar.spec
 docs/.*.swp
 docs/*.1
diff --git a/Makefile.am b/Makefile.am
index 9d12dbf..4744c0c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -46,19 +46,6 @@ ChangeLog: Makefile
 
 dist-hook: ChangeLog
 
-thunar_scriptsdir = $(HELPER_PATH_PREFIX)/Thunar
-thunar_scripts_SCRIPTS =						\
-	ThunarBulkRename
-
-ThunarBulkRename: ThunarBulkRename.in Makefile
-	$(AM_V_GEN) (							\
-		rm -f ThunarBulkRename.gen ThunarBulkRename		\
-		&& $(SED) -e "s,\@bindir\@,$(bindir),g" 			\
-			< $(srcdir)/ThunarBulkRename.in			\
-			> ThunarBulkRename.gen				\
-		&& mv ThunarBulkRename.gen ThunarBulkRename 		\
-	)
-
 desktopdir = $(datadir)/applications
 desktop_in_in_files = 							\
 	Thunar.desktop.in.in						\
@@ -102,7 +89,6 @@ polkit_policy_DATA = $(polkit_in_files:.policy.in=.policy)
 EXTRA_DIST =								\
 	FAQ								\
 	HACKING								\
-	ThunarBulkRename.in						\
 	intltool-extract.in						\
 	intltool-merge.in						\
 	intltool-update.in						\
@@ -116,7 +102,6 @@ EXTRA_DIST =								\
 CLEANFILES		= $(appdata_DATA)
 
 DISTCLEANFILES =							\
-	ThunarBulkRename						\
 	intltool-extract						\
 	intltool-merge							\
 	intltool-update							\
diff --git a/Thunar-bulk-rename.desktop.in.in b/Thunar-bulk-rename.desktop.in.in
index 59b71a2..129c752 100644
--- a/Thunar-bulk-rename.desktop.in.in
+++ b/Thunar-bulk-rename.desktop.in.in
@@ -2,7 +2,7 @@
 _Name=Bulk Rename
 _Comment=Rename Multiple Files
 _GenericName=Bulk Rename
-Exec=@HELPERDIR@/Thunar/ThunarBulkRename %F
+Exec=thunar --bulk-rename %F
 Icon=Thunar
 Terminal=false
 StartupNotify=true
diff --git a/ThunarBulkRename.in b/ThunarBulkRename.in
deleted file mode 100644
index 4b12403..0000000
--- a/ThunarBulkRename.in
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2006 Benedikt Meurer <benny at xfce.org>
-#
-# 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 program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-
-# This is an ugly hack, required because xfdesktop simply
-# strips off all parameters from the Exec field, and so
-# we cannot just invoke Thunar --bulk-rename %F there
-exec @bindir@/Thunar --bulk-rename "$@"
-
-# vim:set ts=2 sw=2 et ai:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list