Lines Matching refs:toc
29 /* tocfuncs.c -- action procedures concerning things in the toc widget. */
74 Toc toc = scrn->toc;
79 if (toc == NULL) return;
80 mlist = TocCurMsgList(toc);
84 msg = TocGetCurMsg(toc);
86 msg = (next ? TocMsgAfter(toc, msg) : TocMsgBefore(toc, msg));
91 msg = (next ? TocMsgAfter(toc, msg) : TocMsgBefore(toc, msg));
107 TocUnsetSelection(toc);
108 TocSetCurMsg(toc, msg);
179 Toc toc = scrn->toc;
183 if (toc == NULL) return;
184 mlist = CurMsgListOrCurMsg(toc);
213 Toc toc = scrn->toc;
216 if (toc == NULL) return;
217 mlist = CurMsgListOrCurMsg(toc);
254 Toc toc = scrn->toc;
259 if (toc == NULL) return;
260 mlist = CurMsgListOrCurMsg(toc);
263 if (DraftsFolder == toc) {
294 Toc toc = scrn->toc;
299 if (toc == NULL) return;
304 if (desttoc == toc)
307 mlist = TocCurMsgList(toc);
309 msg = TocGetCurMsg(toc);
428 TocCommitChanges(w, (XtPointer) scrn->toc, (XtPointer) NULL);
441 TocCommitChanges(w, (XtPointer) scrn->toc, (XtPointer) NULL);
458 if (! UserWantsAction(w, scrn) || ! scrn->toc)
478 mlist = CurMsgListOrCurMsg(scrn->toc);
556 Toc toc = scrn->toc;
560 if (toc == NULL) return;
565 if (TocConfirmCataclysm(toc, confirms, (XtCallbackRec *) NULL))
569 argv[1] = TocMakeFolderName(toc);
577 TocForceRescan(toc);
604 Toc toc = scrn->toc;
608 if (toc == NULL) return;
613 if (TocConfirmCataclysm(toc, confirms, (XtCallbackRec *) NULL))
617 argv[1] = TocMakeFolderName(toc);
624 TocForceRescan(toc);
662 Toc toc = scrn->toc;
663 if (toc == NULL) return;
666 TocForceRescan(toc);
692 if (TocCanIncorporate(scrn->toc))
704 Toc toc = scrn->toc;
708 if (! toc) return;
709 newmail = TocIncorporate(toc);
720 BBoxMailFlag(scrn->folderbuttons, TocName(toc), False);
734 Toc toc = scrn->toc;
739 if (toc == NULL) return;
740 mlist = CurMsgListOrCurMsg(toc);
784 Toc toc = scrn->toc;
790 if (toc == NULL) return;
791 if ((selectedseq = TocSelectedSequence(toc)) == NULL)
800 AddPick(nscrn, toc, (TocViewedSequence(toc))->name, toseq);
835 Toc toc = (Toc) scrn->toc;
838 if ((seq = TocSelectedSequence(toc)) != NULL) {
850 TocSetSelectedSequence(toc, TocGetSeqNamed(toc, XtName(widget)));
861 Toc toc = scrn->toc;
862 if (toc == NULL) return;
863 TocChangeViewedSeq(toc, TocSelectedSequence(toc));
885 if (! TocHasSequences(scrn->toc))
890 Toc toc = scrn->toc;
891 if ((selected_sequence = TocGetSeqNamed(toc, params[0]))) {
892 TocSetSelectedSequence(toc, selected_sequence);
893 TocChangeViewedSeq(toc, selected_sequence);
924 if ((selected_sequence = TocSelectedSequence(scrn->toc)) &&
940 Toc toc = scrn->toc;
946 if (toc == NULL || ((selectedseq = TocSelectedSequence(toc)) == NULL))
955 mlist = CurMsgListOrCurMsg(toc);
964 argv[1] = TocMakeFolderName(toc);
992 TocReloadSeqLists(toc);
1021 if (TocHasSequences(scrn->toc))
1046 if (TocHasSequences(scrn->toc))
1059 TUCheckSequenceMenu(scrn->toc);
1077 if (TocHasSequences(scrn->toc))