From b8a741d9e607711672e291bad5b93dcffe4932bf Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 24 Aug 2023 17:09:39 +0200 Subject: [PATCH] Fix for newer gnome versions --- taildrop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taildrop.py b/taildrop.py index a1ae236..65ea738 100755 --- a/taildrop.py +++ b/taildrop.py @@ -80,7 +80,7 @@ def callback_send(_menu, hostname, files): filename = unquote(file.get_uri()[7:]) Taildrop.send_file(filename, hostname) - def get_file_items(self, _window, files): + def get_file_items(self, files): """ Right click context menu for a batch of files. """ @@ -112,7 +112,7 @@ def get_file_items(self, _window, files): return (top_menuitem,) - def get_background_items(self, window, file): + def get_background_items(self, file): """ Adds the context menu to a folder. """