From 4bd62531925435654188841555a50250534bf973 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 6 Jan 2007 14:57:18 +0000 Subject: [PATCH] don't show empty lines in XML console. fixes #2857 --- src/dialogs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dialogs.py b/src/dialogs.py index 52db21003..4d28fe963 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -1764,6 +1764,8 @@ class XMLConsoleWindow: # kind must be 'incoming' or 'outgoing' if not self.enabled: return + if not stanza: + return buffer = self.stanzas_log_textview.get_buffer() at_the_end = False