From 14ad7a2479f0e447f38578e5062872cea5f32721 Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Mon, 8 Apr 2019 15:32:42 +0200 Subject: [PATCH] Fixed "Show in Folder" feature on Gnome 3.30+. Parameter --no-desktop is deprecated and should not be used. Closes #5896. --- Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp index e90960f63..736b3d6ea 100644 --- a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp @@ -64,7 +64,7 @@ void UnsafeShowInFolder(const QString &filepath) { arguments << "--select" << absolutePath; } else if (output == qstr("nautilus.desktop") || output == qstr("org.gnome.Nautilus.desktop") || output == qstr("nautilus-folder-handler.desktop")) { command = qsl("nautilus"); - arguments << "--no-desktop" << absolutePath; + arguments << absolutePath; } else if (output == qstr("nemo.desktop")) { command = qsl("nemo"); arguments << "--no-desktop" << absolutePath;