fix right click on file tab not selecting the row

This commit is contained in:
Marcos Pinto 2007-07-22 07:44:43 +00:00
parent b57b07b783
commit 2c746a3ee9
1 changed files with 2 additions and 1 deletions

View File

@ -121,8 +121,9 @@ class FilesBaseManager(object):
def mouse_clicked(self, widget, event): def mouse_clicked(self, widget, event):
if event.button == 3: if event.button == 3:
self.file_view.get_selection().get_selected_rows()[1]
self.file_menu.popup(None, None, None, event.button, event.time) self.file_menu.popup(None, None, None, event.button, event.time)
return True return False
else: else:
return False return False