Extra argument to moo_cmd_view_run_command

master
Yevgen Muntyan 2006-04-19 17:23:45 -05:00
parent 97f76e4d8c
commit b2a11b2485
3 changed files with 5 additions and 4 deletions

View File

@ -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);
}

View File

@ -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 &

View File

@ -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"))
)
)