Add scrolling using Page Up/Down and Home/End in torrent detail view

This commit is contained in:
Asmageddon 2012-03-06 16:16:58 +01:00
parent 1a1518ac1d
commit 6edd159626
1 changed files with 3 additions and 2 deletions

View File

@ -347,9 +347,10 @@ class TorrentDetail(BaseMode, component.Component):
return (off,idx)
def __get_file_list_length(self, file_list=None):
def _get_file_list_length(self, file_list=None):
"""
Counts length of the displayed file list.
Returns amount of elements in file list, including files in (expanded) folders.
"""
if file_list == None:
file_list = self.file_list