* ext.c (exec_extension) [HAVE_X]: Disable console handling.
Этот коммит содержится в:
родитель
5c56eb0c5a
Коммит
975726afd0
@ -1,5 +1,7 @@
|
|||||||
2001-06-22 Pavel Roskin <proski@gnu.org>
|
2001-06-22 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* ext.c (exec_extension) [HAVE_X]: Disable console handling.
|
||||||
|
|
||||||
* cons.handler.c: Reorganize includes. Fix warnings on BSD.
|
* cons.handler.c: Reorganize includes. Fix warnings on BSD.
|
||||||
* rxvt.c (rxvt_extensions): Make static.
|
* rxvt.c (rxvt_extensions): Make static.
|
||||||
* main.c (sigchld_handler_no_subshell) [!__linux__]: Don't try
|
* main.c (sigchld_handler_no_subshell) [!__linux__]: Don't try
|
||||||
|
@ -283,14 +283,13 @@ exec_extension (const char *filename, const char *data, char **drops, int *move_
|
|||||||
q[1] = 0;
|
q[1] = 0;
|
||||||
do_cd (p, cd_parse_command);
|
do_cd (p, cd_parse_command);
|
||||||
} else {
|
} else {
|
||||||
#ifdef HAVE_GNOME
|
#ifdef HAVE_X
|
||||||
if (needs_term)
|
if (needs_term)
|
||||||
gnome_open_terminal_with_cmd (file_name);
|
gnome_open_terminal_with_cmd (file_name);
|
||||||
else
|
else
|
||||||
shell_execute (file_name, EXECUTE_INTERNAL | EXECUTE_TEMPFILE);
|
shell_execute (file_name, EXECUTE_INTERNAL | EXECUTE_TEMPFILE);
|
||||||
#else
|
#else
|
||||||
shell_execute (file_name, EXECUTE_INTERNAL | EXECUTE_TEMPFILE);
|
shell_execute (file_name, EXECUTE_INTERNAL | EXECUTE_TEMPFILE);
|
||||||
#endif
|
|
||||||
if (console_flag)
|
if (console_flag)
|
||||||
{
|
{
|
||||||
handle_console (CONSOLE_SAVE);
|
handle_console (CONSOLE_SAVE);
|
||||||
@ -302,6 +301,7 @@ exec_extension (const char *filename, const char *data, char **drops, int *move_
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* !HAVE_X */
|
||||||
|
|
||||||
#ifdef OLD_CODE
|
#ifdef OLD_CODE
|
||||||
if (vfs_current_is_local ())
|
if (vfs_current_is_local ())
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user