renaming from gedit to pluma
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
TOOL_MERGE=$(top_srcdir)/plugins/externaltools/scripts/gedit-tool-merge.pl
|
||||
TOOL_MERGE=$(top_srcdir)/plugins/externaltools/scripts/pluma-tool-merge.pl
|
||||
|
||||
tools_in_files = \
|
||||
build.tool.in \
|
||||
@@ -29,7 +29,7 @@ desktop_in_files = $(install_tools_in_files:.tool.in=.desktop.in)
|
||||
desktop_files = $(install_tools_in_files:.tool.in=.desktop)
|
||||
|
||||
tools_SCRIPTS = $(install_tools_in_files:.tool.in=)
|
||||
toolsdir = $(GEDIT_PLUGINS_DATA_DIR)/externaltools/tools
|
||||
toolsdir = $(PLUMA_PLUGINS_DATA_DIR)/externaltools/tools
|
||||
|
||||
all_tools_in_files = \
|
||||
$(tools_in_files) \
|
||||
|
@@ -1,4 +1,4 @@
|
||||
[Gedit Tool]
|
||||
[Pluma Tool]
|
||||
_Name=Build
|
||||
_Comment=Run "make" in the document directory
|
||||
Input=nothing
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
EHOME=`echo $HOME | sed "s/#/\#/"`
|
||||
DIR=$GEDIT_CURRENT_DOCUMENT_DIR
|
||||
DIR=$PLUMA_CURRENT_DOCUMENT_DIR
|
||||
while test "$DIR" != "/"; do
|
||||
for m in GNUmakefile makefile Makefile; do
|
||||
if [ -f "${DIR}/${m}" ]; then
|
||||
|
@@ -1,4 +1,4 @@
|
||||
[Gedit Tool]
|
||||
[Pluma Tool]
|
||||
_Name=Open terminal here
|
||||
_Comment=Open a terminal in the document location
|
||||
Input=nothing
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/osascript
|
||||
|
||||
set the_path to system attribute "GEDIT_CURRENT_DOCUMENT_DIR"
|
||||
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"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
[Gedit Tool]
|
||||
[Pluma Tool]
|
||||
_Name=Open terminal here
|
||||
_Comment=Open a terminal in the document location
|
||||
Input=nothing
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
#TODO: use "mateconftool-2 -g /desktop/mate/applications/terminal/exec"
|
||||
mate-terminal --working-directory=$GEDIT_CURRENT_DOCUMENT_DIR &
|
||||
mate-terminal --working-directory=$PLUMA_CURRENT_DOCUMENT_DIR &
|
||||
|
@@ -1,4 +1,4 @@
|
||||
[Gedit Tool]
|
||||
[Pluma Tool]
|
||||
_Name=Remove trailing spaces
|
||||
_Comment=Remove useless trailing spaces in your file
|
||||
Input=document
|
||||
|
@@ -1,4 +1,4 @@
|
||||
[Gedit Tool]
|
||||
[Pluma Tool]
|
||||
_Name=Run command
|
||||
_Comment=Execute a custom command and put its output in a new document
|
||||
Input=nothing
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
#TODO: use "mateconftool-2 -g /desktop/mate/applications/terminal/exec"
|
||||
exec `matedialog --entry --title="Run command - gedit" --text="Command to run"`
|
||||
exec `matedialog --entry --title="Run command - pluma" --text="Command to run"`
|
||||
|
Reference in New Issue
Block a user