From b4af14a78ead6ffb448a77d616857a8dfdca46b1 Mon Sep 17 00:00:00 2001 From: David Soulayrol Date: Sat, 3 Sep 2011 22:34:48 +0200 Subject: [PATCH] Fixed erroneous document string for Pane.set_error. --- wizpym.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wizpym.py b/wizpym.py index fa98604..2ad9b63 100644 --- a/wizpym.py +++ b/wizpym.py @@ -124,11 +124,11 @@ class Pane(gtk.VBox): self._header.show_all() def set_error(self, msg): - """Add a help header to the pane with the given message. + """Display a error in the pane's footer. - Since it is quite common that panes begin with a little guide - explaining the current step, calling this method will ensure - such panes all present the same header style. + Display the given message in red in a special label attached + to the footer of the pane. The pane is hidden if the message + is empty. """ self._error.foreach(lambda w: self._error.remove(w)) if msg: