remove a wrong comment; enrich a docstring

This commit is contained in:
Nikos Kouremenos 2005-11-30 14:16:26 +00:00
parent 8522d1bd22
commit 164f45ecf4
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class Constants:
def __init__(self): def __init__(self):
( (
self.JID_NORMAL_TYPE, self.JID_NORMAL_TYPE,
self.JID_ROOM_TYPE # image to show state (online, new message etc) self.JID_ROOM_TYPE
) = range(2) ) = range(2)
( (

View File

@ -310,7 +310,7 @@ class HistoryWindow:
def on_results_treeview_row_activated(self, widget, path, column): def on_results_treeview_row_activated(self, widget, path, column):
'''a row was double clicked, get date from row, and select it in caledar '''a row was double clicked, get date from row, and select it in caledar
and also show conversation logs for that date''' which results to showing conversation logs for that date'''
# get currently selected date # get currently selected date
cur_year, cur_month, cur_day = self.calendar.get_date() cur_year, cur_month, cur_day = self.calendar.get_date()
cur_month = gtkgui_helpers.make_gtk_month_python_month(cur_month) cur_month = gtkgui_helpers.make_gtk_month_python_month(cur_month)