From b2a11b2485564f5da3ee4d88d624c4d28ad3eead Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Wed, 19 Apr 2006 17:23:45 -0500 Subject: [PATCH] Extra argument to moo_cmd_view_run_command --- moo/mooedit/plugins/moofind.c | 4 ++-- moo/mooedit/tools.cfg | 4 ++-- moo/moopython/pygtk/mooedit-pygtk.defs | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/moo/mooedit/plugins/moofind.c b/moo/mooedit/plugins/moofind.c index fc72b25b..11b6fccd 100644 --- a/moo/mooedit/plugins/moofind.c +++ b/moo/mooedit/plugins/moofind.c @@ -731,7 +731,7 @@ execute_grep (const char *pattern, !case_sensitive ? "-i " : "", pattern); stuff->cmd = CMD_GREP; - moo_cmd_view_run_command (stuff->output, command->str, "Find in Files"); + moo_cmd_view_run_command (stuff->output, command->str, NULL, "Find in Files"); g_string_free (command, TRUE); } @@ -790,7 +790,7 @@ execute_find (const char *pattern, } stuff->cmd = CMD_FIND; - moo_cmd_view_run_command (stuff->output, command->str, "Find File"); + moo_cmd_view_run_command (stuff->output, command->str, NULL, "Find File"); g_string_free (command, TRUE); } diff --git a/moo/mooedit/tools.cfg b/moo/mooedit/tools.cfg index 599af823..7692aa3e 100644 --- a/moo/mooedit/tools.cfg +++ b/moo/mooedit/tools.cfg @@ -32,11 +32,11 @@ label: LaTeX lang: LaTeX command: shell options: need-save - cd $dir && latex $name + latex $name action: ViewDVI label: View DVI lang: LaTeX command: shell options: need-file, silent - cd $dir && kdvi $base.dvi & + kdvi $base.dvi & diff --git a/moo/moopython/pygtk/mooedit-pygtk.defs b/moo/moopython/pygtk/mooedit-pygtk.defs index 0ac9b0ab..c76e8942 100644 --- a/moo/moopython/pygtk/mooedit-pygtk.defs +++ b/moo/moopython/pygtk/mooedit-pygtk.defs @@ -217,6 +217,7 @@ (return-type "gboolean") (parameters '("const-char*" "cmd") + '("const-char*" "working_dir" (null-ok) (default "NULL")) '("const-char*" "job_name" (null-ok) (default "NULL")) ) )