Skip to content

Commit

Permalink
Fix for newer gnome versions
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten authored Aug 24, 2023
1 parent 69759ba commit b8a741d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions taildrop.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down Expand Up @@ -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.
"""
Expand Down

0 comments on commit b8a741d

Please sign in to comment.