diff --git a/plugins/gtkgui/check_for_new_version.py b/plugins/gtkgui/check_for_new_version.py index f8133670b..76622c77e 100644 --- a/plugins/gtkgui/check_for_new_version.py +++ b/plugins/gtkgui/check_for_new_version.py @@ -51,11 +51,18 @@ class Check_for_new_version_dialog: info = 'Gajim ' + latest_version + ' was released in ' + date + '!' changes = '' while True: - line = changelog.readline() + line = changelog.readline().lstrip() if line.startswith('Gajim'): break else: - if line != '\n': + if line != '\n' or line !='': # line has some content + print 'line', repr(line) + if not line.startswith('*'): + # the is not a new *real* line + # but a continuation from previous line. + # So remove \n from previous 'line' beforing adding it + changes = changes[:-1] + changes += line self.parse_glade() diff --git a/plugins/gtkgui/gtkgui.glade b/plugins/gtkgui/gtkgui.glade index cc65f7937..cb92d747b 100644 --- a/plugins/gtkgui/gtkgui.glade +++ b/plugins/gtkgui/gtkgui.glade @@ -10437,7 +10437,7 @@ send a chat message to - 5 + 6 True 0 0.5 @@ -10450,10 +10450,10 @@ send a chat message to 0.5 1 1 - 0 - 0 - 12 - 0 + 5 + 5 + 5 + 5