Lines Matching refs:toc

43     Toc		toc;		/* the toc of the selected folder */
44 Toc original_toc; /* the toc of the current folder */
64 /* Close this toc&view scrn. If this is the last toc&view, quit xmh. */
74 Toc toc;
96 toc = folderList[i];
98 if (TocConfirmCataclysm(toc, confirm_callbacks,
106 * toc = folderList[i];
107 * if (toc->scanfile && toc->curmsg)
108 * CmdSetSequence(toc, "cur", MakeSingleMsgList(toc->curmsg));
128 DestroyScrn(scrn); /* doesn't destroy first toc&view scrn */
154 Toc toc = SelectedToc(scrn);
155 if (TocFolderExists(toc))
156 TocSetScrn(toc, scrn);
234 Toc toc = SelectedToc(scrn);
235 if (TocFolderExists(toc)) {
237 TocSetScrn(toc, scrn);
265 Toc toc;
275 toc = TocGetNamed(name);
276 if ((toc) || (i==0) || (name[0]=='/') || ((toc = TocCreateFolder(name))
278 if (toc)
348 TocClearDeletePending(deleteData->toc);
350 /* When the delete request is made, the toc currently being viewed is
351 * changed if necessary to be the toc under consideration for deletion.
353 * the toc originally under view, unless the toc originally under
371 Toc toc = deleteData->toc;
386 /* Display the toc of the folder to be deleted. */
388 TocSetScrn(toc, scrn);
404 if (TocConfirmCataclysm(toc, confirms, cancels) == NEEDS_CONFIRMATION)
412 "Are you sure you want to destroy %s?", TocName(toc));
425 Toc toc = deleteData->toc;
443 if (TocConfirmCataclysm(toc, confirms, cancels) == NEEDS_CONFIRMATION)
446 /* Delete. Restore the previously viewed toc, if it wasn't deleted. */
448 foldername = TocName(toc);
449 TocSetScrn(toc, (Scrn) NULL);
450 TocDeleteFolder(toc);
460 * not all xmh toc & view screens will have the same menus built.
501 Toc toc = SelectedToc(scrn);
504 if (! TocFolderExists(toc)) {
514 if (TocTestAndSetDeletePending(toc)) {
521 deleteData->toc = toc;
523 if (deleteData->original_toc == toc)
1074 Toc toc;
1085 TocCommitChanges(w, (XtPointer) iToken->toc, (XtPointer) NULL);
1110 Toc toc = (Toc) client_data;
1134 iToken->toc = toc;
1140 "Commit all changes to %s folder?", toc->foldername);
1143 for (i=0; i < toc->num_scrns; i++)
1144 if (toc->scrn[i]->mapped) {
1145 tocwidget = toc->scrn[i]->tocwidget;