rm more leftovers
This commit is contained in:
parent
15d93107ba
commit
2f503fa7bf
|
@ -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'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue