mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 09:19:24 +03:00
Merge branch '3574_open_silent'
* 3574_open_silent: Ticket #3574: fix XDG silent open in background.
This commit is contained in:
commit
8190c906ee
@ -171,7 +171,7 @@ view)
|
|||||||
do_view_action "${filetype}"
|
do_view_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
open)
|
open)
|
||||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||||
do_open_action "${filetype}" "${pager}"
|
do_open_action "${filetype}" "${pager}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -187,7 +187,7 @@ view)
|
|||||||
do_view_action "${filetype}"
|
do_view_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
open)
|
open)
|
||||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||||
do_open_action "${filetype}"
|
do_open_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -57,7 +57,7 @@ view)
|
|||||||
do_view_action "${filetype}"
|
do_view_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
open)
|
open)
|
||||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||||
do_open_action "${filetype}"
|
do_open_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -88,7 +88,7 @@ view)
|
|||||||
do_view_action "${filetype}"
|
do_view_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
open)
|
open)
|
||||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||||
do_open_action "${filetype}"
|
do_open_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -51,7 +51,7 @@ view)
|
|||||||
do_view_action "${filetype}"
|
do_view_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
open)
|
open)
|
||||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||||
do_open_action "${filetype}"
|
do_open_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -84,7 +84,7 @@ view)
|
|||||||
do_view_action "${filetype}"
|
do_view_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
open)
|
open)
|
||||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||||
do_open_action "${filetype}"
|
do_open_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -141,7 +141,7 @@ view)
|
|||||||
do_view_action "${filetype}"
|
do_view_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
open)
|
open)
|
||||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||||
do_open_action "${filetype}" "${pager}"
|
do_open_action "${filetype}" "${pager}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -43,7 +43,7 @@ view)
|
|||||||
do_view_action "${filetype}"
|
do_view_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
open)
|
open)
|
||||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||||
do_open_action "${filetype}"
|
do_open_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -46,7 +46,7 @@ view)
|
|||||||
do_view_action "${filetype}"
|
do_view_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
open)
|
open)
|
||||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||||
do_open_action "${filetype}"
|
do_open_action "${filetype}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user