rm more leftovers

This commit is contained in:
Nikos Kouremenos 2006-03-25 11:06:54 +00:00
parent 15d93107ba
commit 2f503fa7bf
1 changed files with 2 additions and 4 deletions

View File

@ -115,11 +115,9 @@ def get_default_font():
return None return None
def reduce_chars_newlines(text, max_chars = 0, max_lines = 0, def reduce_chars_newlines(text, max_chars = 0, max_lines = 0):
widget = None):
'''Cut the chars after 'max_chars' on each line '''Cut the chars after 'max_chars' on each line
and show only the first 'max_lines'. If there is more text and show only the first 'max_lines'.
to be shown, display the whole text in tooltip on 'widget'
If any of the params is not present (None or 0) the action If any of the params is not present (None or 0) the action
on it is not performed''' on it is not performed'''