From cb493591f19e075752aacfbde165a0d3d50575de Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 12 Feb 2008 20:27:58 +0000 Subject: [PATCH] fix deprecation warning with float --- src/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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