diff options
Diffstat (limited to 'plugins/externaltools')
-rwxr-xr-x | plugins/externaltools/data/Makefile.am | 25 | ||||
-rwxr-xr-x | plugins/externaltools/data/open-terminal-here-osx.desktop.in | 8 | ||||
-rwxr-xr-x | plugins/externaltools/data/open-terminal-here-osx.tool.in | 16 |
3 files changed, 2 insertions, 47 deletions
diff --git a/plugins/externaltools/data/Makefile.am b/plugins/externaltools/data/Makefile.am index b9466cd7..c9abcce0 100755 --- a/plugins/externaltools/data/Makefile.am +++ b/plugins/externaltools/data/Makefile.am @@ -2,31 +2,14 @@ TOOL_MERGE=$(top_srcdir)/plugins/externaltools/scripts/pluma-tool-merge.pl tools_in_files = \ build.tool.in \ - remove-trailing-spaces.tool.in - -tools_in_linux = \ open-terminal-here.tool.in \ + remove-trailing-spaces.tool.in \ run-command.tool.in \ search-recursive.tool.in \ switch-c.tool.in -tools_in_osx = \ - open-terminal-here-osx.tool.in - -tools_in_win32 = - install_tools_in_files = $(tools_in_files) -if PLATFORM_OSX -install_tools_in_files += $(tools_in_osx) -else -if PLATFORM_WIN32 -install_tools_in_files += $(tools_in_win32) -else -install_tools_in_files += $(tools_in_linux) -endif -endif - desktop_in_files = $(install_tools_in_files:.tool.in=.desktop.in) desktop_files = $(install_tools_in_files:.tool.in=.desktop) @@ -34,10 +17,7 @@ tools_SCRIPTS = $(install_tools_in_files:.tool.in=) toolsdir = $(PLUMA_PLUGINS_DATA_DIR)/externaltools/tools all_tools_in_files = \ - $(tools_in_files) \ - $(tools_in_linux) \ - $(tools_in_osx) \ - $(tools_in_win32) + $(tools_in_files) all_desktop_in_files = $(all_tools_in_files:.tool.in=.desktop.in) all_desktop_files = $(all_tools_in_files:.tool.in=.desktop) @@ -63,5 +43,4 @@ DISTCLEANFILES = \ $(all_desktop_files) \ $(all_tools_files) - -include $(top_srcdir)/git.mk diff --git a/plugins/externaltools/data/open-terminal-here-osx.desktop.in b/plugins/externaltools/data/open-terminal-here-osx.desktop.in deleted file mode 100755 index 45587ef6..00000000 --- a/plugins/externaltools/data/open-terminal-here-osx.desktop.in +++ /dev/null @@ -1,8 +0,0 @@ -[Pluma Tool] -_Name=Open terminal here -_Comment=Open a terminal in the document location -Input=nothing -Output=output-panel -Applicability=local -Save-files=nothing -Languages= diff --git a/plugins/externaltools/data/open-terminal-here-osx.tool.in b/plugins/externaltools/data/open-terminal-here-osx.tool.in deleted file mode 100755 index 86d842dc..00000000 --- a/plugins/externaltools/data/open-terminal-here-osx.tool.in +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/osascript - -set the_path to system attribute "PLUMA_CURRENT_DOCUMENT_DIR" -set cmd to "cd " & quoted form of the_path - -tell application "System Events" to set terminalIsRunning to exists application process "Terminal" - -tell application "Terminal" - activate - - if terminalIsRunning is true then - do script with command cmd - else - do script with command cmd in window 1 - end if -end tell |