--- /dev/null
+Description: Compatibility with older python3-nautilus
+Author: Nathan Pratta Teodosio <nathan.teodosio@canonical.com>
+Forwarded: https://github.com/nextcloud/desktop/pull/4870
+Last-Update: 2022-08-25
+
+--- nextcloud-desktop-3.5.4.orig/shell_integration/nautilus/syncstate.py
++++ nextcloud-desktop-3.5.4/shell_integration/nautilus/syncstate.py
+@@ -200,9 +200,10 @@ class MenuExtension_ownCloud(GObject.GOb
+ break
+ return (topLevelFolder, internalFile)
+
+- def get_file_items(self, window, files):
++ def get_file_items(self, *args):
+ # Show the menu extension to share a file or folder
+
++ files = args[-1]
+ # Get usable file paths from the uris
+ all_internal_files = True
+ for i, file_uri in enumerate(files):
0002-use_system_buildflags.patch
0003-Use-release-version-for-Debian.patch
0004-Revert-8fb673457b42-Add-a-button-to-create-a-debug-a.patch
+0005-compat-older-python3-nautilus.patch