From f24c2db136c3d1f687e4764e70b20e0a312b716a Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 19 Oct 2005 21:49:16 +0000 Subject: [PATCH] remove only the line when we want to remove it --- src/groupchat_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groupchat_window.py b/src/groupchat_window.py index 034c58336..ae8555b2a 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -224,7 +224,7 @@ class GroupchatWindow(chat.Chat): end_iter_for_previous_line = buffer.get_iter_at_offset( self.focus_out_end_iter_offset[room_jid]) begin_iter_for_previous_line = end_iter_for_previous_line.copy() - begin_iter_for_previous_line.backward_chars(16) # 15+1 (the '\n') + begin_iter_for_previous_line.backward_chars(2) # img_char+1 (the '\n') # remove focus out line buffer.delete(begin_iter_for_previous_line,