Extra argument to moo_cmd_view_run_command
This commit is contained in:
parent
97f76e4d8c
commit
b2a11b2485
@ -731,7 +731,7 @@ execute_grep (const char *pattern,
|
|||||||
!case_sensitive ? "-i " : "", pattern);
|
!case_sensitive ? "-i " : "", pattern);
|
||||||
|
|
||||||
stuff->cmd = CMD_GREP;
|
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);
|
g_string_free (command, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -790,7 +790,7 @@ execute_find (const char *pattern,
|
|||||||
}
|
}
|
||||||
|
|
||||||
stuff->cmd = CMD_FIND;
|
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);
|
g_string_free (command, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,11 +32,11 @@ label: LaTeX
|
|||||||
lang: LaTeX
|
lang: LaTeX
|
||||||
command: shell
|
command: shell
|
||||||
options: need-save
|
options: need-save
|
||||||
cd $dir && latex $name
|
latex $name
|
||||||
|
|
||||||
action: ViewDVI
|
action: ViewDVI
|
||||||
label: View DVI
|
label: View DVI
|
||||||
lang: LaTeX
|
lang: LaTeX
|
||||||
command: shell
|
command: shell
|
||||||
options: need-file, silent
|
options: need-file, silent
|
||||||
cd $dir && kdvi $base.dvi &
|
kdvi $base.dvi &
|
||||||
|
@ -217,6 +217,7 @@
|
|||||||
(return-type "gboolean")
|
(return-type "gboolean")
|
||||||
(parameters
|
(parameters
|
||||||
'("const-char*" "cmd")
|
'("const-char*" "cmd")
|
||||||
|
'("const-char*" "working_dir" (null-ok) (default "NULL"))
|
||||||
'("const-char*" "job_name" (null-ok) (default "NULL"))
|
'("const-char*" "job_name" (null-ok) (default "NULL"))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user