projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0743a0b
)
Fixed symlink resolution for menu items.
author
Daniel Vedder
<d.vedder@web.de>
Sat, 2 May 2020 15:01:35 +0000
(17:01 +0200)
committer
Daniel Vedder
<d.vedder@web.de>
Sat, 2 May 2020 15:03:21 +0000
(17:03 +0200)
Signed-off-by: Daniel Vedder <d.vedder@web.de>
shell_integration/nautilus/syncstate.py
patch
|
blob
|
history
diff --git
a/shell_integration/nautilus/syncstate.py
b/shell_integration/nautilus/syncstate.py
index c90c20aa4b00f08ab12448544538ca057580aa47..a3ff9f4f28f7048fb7687019fc09f76da0ab4097 100644
(file)
--- 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