don't show empty lines in XML console. fixes #2857

This commit is contained in:
Yann Leboulanger 2007-01-06 14:57:18 +00:00
parent f060342b5e
commit 4bd6253192
1 changed files with 2 additions and 0 deletions

View File

@ -1764,6 +1764,8 @@ class XMLConsoleWindow:
# kind must be 'incoming' or 'outgoing' # kind must be 'incoming' or 'outgoing'
if not self.enabled: if not self.enabled:
return return
if not stanza:
return
buffer = self.stanzas_log_textview.get_buffer() buffer = self.stanzas_log_textview.get_buffer()
at_the_end = False at_the_end = False