From 2f503fa7bfc742122e1514b910328de9b655ef81 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sat, 25 Mar 2006 11:06:54 +0000 Subject: [PATCH] rm more leftovers --- src/gtkgui_helpers.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py index aeac6a260..94d178ca2 100644 --- a/src/gtkgui_helpers.py +++ b/src/gtkgui_helpers.py @@ -115,11 +115,9 @@ def get_default_font(): return None -def reduce_chars_newlines(text, max_chars = 0, max_lines = 0, - widget = None): +def reduce_chars_newlines(text, max_chars = 0, max_lines = 0): '''Cut the chars after 'max_chars' on each line - and show only the first 'max_lines'. If there is more text - to be shown, display the whole text in tooltip on 'widget' + and show only the first 'max_lines'. If any of the params is not present (None or 0) the action on it is not performed'''