Commit a1ff4083 authored by Colomban Wendling's avatar Colomban Wendling
Browse files

Prevent dialogs from appearing below Nautilus' window

When running from a terminal window, Zenity will see the WINDOWID
environment variable and place its windows above that one.
This is undesirable if Nautilus itself was launched from a terminal
window, it will lead to Zenity windows appearing above the terminal
rather than above Nautilus istelf.
parent 42e082ae
......@@ -34,6 +34,10 @@ QUALITY=5
TITLE="Convertir en MP3"
# we don't want the dialogs to go below Nautilus, even when Nautilus itself
# was started from a terminal.
[ "${INSIDE_NAUTILUS_PYTHON+yes}" = yes ] && unset WINDOWID
progress() {
local count=$1
zenity --progress \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment