ichat style in time fix

This commit is contained in:
Nikos Kouremenos 2005-05-13 18:03:10 +00:00
parent 0a0cd669eb
commit 526430c9b2
1 changed files with 2 additions and 2 deletions

View File

@ -423,7 +423,7 @@ class Chat:
return False
def on_clear(self, widget, textview):
'''clear text found in the given textview'''
'''clear text in the given textview'''
buffer = textview.get_buffer()
start, end = buffer.get_bounds()
buffer.delete(start, end)
@ -467,7 +467,7 @@ class Chat:
tim = time.localtime()
tim_format = time.strftime('%H:%M', tim)
buffer.insert_with_tags_by_name(end_iter,
tim_format + '\n',
'\n' + tim_format,
'time_sometimes')
#scroll to the end of the textview
end_rect = textview.get_iter_location(end_iter)