From ae9dc18244ace619c572fa39b110e9cdd0e4ed64 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 20 Mar 2007 10:35:06 +0000
Subject: [PATCH] fix number of arguments in a callback. fixes #3047

---
 src/roster_window.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/roster_window.py b/src/roster_window.py
index 47785c5642..b2d581480d 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -4088,7 +4088,7 @@ class RosterWindow:
 			contact.groups.remove(group)
 		self.remove_contact(contact, account)
 
-	def _on_send_files(self, account, jid, uri):
+	def _on_send_files(self, widget, account, jid, uri):
 		c = gajim.contacts.get_contact_with_highest_priority(account, jid)
 		uri_splitted = uri.split() # we may have more than one file dropped
 		for uri in uri_splitted:
-- 
GitLab