From: Sebastian B. <sb...@us...> - 2000-12-10 10:59:29
|
Update of /cvsroot/simplemail/amiga-mui In directory slayer.i.sourceforge.net:/tmp/cvs-serv22458/amiga-mui Modified Files: mainwnd.c mainwnd.h Log Message: Now mails which have been sended are moved in the Sent drawer Index: mainwnd.c =================================================================== RCS file: /cvsroot/simplemail/amiga-mui/mainwnd.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** mainwnd.c 2000/12/09 14:29:56 1.5 --- mainwnd.c 2000/12/10 10:59:27 1.6 *************** *** 310,313 **** --- 310,325 ---- /****************************************************************** + Remove a given mail from the listview + *******************************************************************/ + void main_remove_mail(struct mail *mail) + { + struct MUI_NListtree_TreeNode *treenode = FindListtreeUserData(tree_mail, mail); + if (treenode) + { + DoMethod(tree_mail, MUIM_NListtree_Remove, NULL, treenode,0); + } + } + + /****************************************************************** Replaces a mail with a new mail *******************************************************************/ Index: mainwnd.h =================================================================== RCS file: /cvsroot/simplemail/amiga-mui/mainwnd.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** mainwnd.h 2000/12/05 02:49:51 1.2 --- mainwnd.h 2000/12/10 10:59:27 1.3 *************** *** 24,27 **** --- 24,28 ---- void main_refresh_folder(struct folder *folder); void main_insert_mail(struct mail *mail); + void main_remove_mail(struct mail *mail); void main_replace_mail(struct mail *oldmail, struct mail *newmail); void main_set_folder_mails(struct folder *folder); |