From 0d71d03d7b06457afcd5dafa4d84493d6c0b62b5 Mon Sep 17 00:00:00 2001 From: Daniel Vedder Date: Sat, 2 May 2020 17:01:35 +0200 Subject: [PATCH] Fixed symlink resolution for menu items. Signed-off-by: Daniel Vedder --- shell_integration/nautilus/syncstate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/shell_integration/nautilus/syncstate.py b/shell_integration/nautilus/syncstate.py index c90c20aa4..a3ff9f4f2 100644 --- a/shell_integration/nautilus/syncstate.py +++ b/shell_integration/nautilus/syncstate.py @@ -209,6 +209,7 @@ class MenuExtension(GObject.GObject, Nautilus.MenuProvider): all_internal_files = True for i, file_uri in enumerate(files): filename = get_local_path(file_uri.get_uri()) + filename = os.path.realpath(filename) # Check if its a folder (ends with an /), if yes add a "/" # otherwise it will not find the entry in the table -- 2.30.2