From: <cl...@us...> - 2003-03-02 02:31:41
|
Update of /cvsroot/todo-manager/todo-manager In directory sc8-pr-cvs1:/tmp/cvs-serv27210 Modified Files: main.py Log Message: Task lists will be correct for loaded and new files. Index: main.py =================================================================== RCS file: /cvsroot/todo-manager/todo-manager/main.py,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- main.py 23 Feb 2003 01:37:24 -0000 1.68 +++ main.py 2 Mar 2003 02:31:38 -0000 1.69 @@ -304,6 +304,7 @@ self.__file_modified = FALSE self.interface_call(ALL, "clear_list_items") + self.interface_call(ALL, "update_list_groups", []) self.interface_call(ALL, "set_current_filename", _("Untitled")) def do_file_save(self, filename=None, ui=None): @@ -428,6 +429,7 @@ self.__file_modified = FALSE self.interface_call(ALL, "update_list_items", self.__get_task_names()) + self.interface_call(ALL, "update_list_groups", self.__get_task_groups()) # See if the file that has just been loaded is the default file f = os.path.join(get_root_directory(), filename) |