summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2008-02-12 20:27:58 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2008-02-12 20:27:58 +0000
commitcb493591f19e075752aacfbde165a0d3d50575de (patch)
tree3be296ff07434904229d0f024ba2ff2031f312b6
parentf4a5b750d8550038b1bb408f44f2c305d143772f (diff)
downloaddeluge-cb493591f19e075752aacfbde165a0d3d50575de.tar.gz
deluge-cb493591f19e075752aacfbde165a0d3d50575de.tar.bz2
deluge-cb493591f19e075752aacfbde165a0d3d50575de.zip
fix deprecation warning with float
-rw-r--r--src/files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/files.py b/src/files.py
index 39eaa97ee..49c1087cb 100644
--- a/src/files.py
+++ b/src/files.py
@@ -123,7 +123,7 @@ class FilesBaseManager(object):
def mouse_clicked(self, widget, event):
if event.button == 3:
- data = self.file_view.get_path_at_pos(event.x, event.y)
+ data = self.file_view.get_path_at_pos(int(event.x), int(event.y))
if data is None:
return True