~ubuntu-dev/ubuntu/lucid/mutt/lucid-201002110857

« back to all changes in this revision

Viewing changes to postpone.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-06-07 17:30:03 UTC
  • mto: (16.2.1 experimental) (2.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090607173003-rg37ui3h2bbv7wl0
Tags: upstream-1.5.19
ImportĀ upstreamĀ versionĀ 1.5.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Copyright (C) 1996-2002 Michael R. Elkins <me@mutt.org>
3
 
 * Copyright (C) 1999-2000 Thomas Roessler <roessler@does-not-exist.org>
 
3
 * Copyright (C) 1999-2002,2004 Thomas Roessler <roessler@does-not-exist.org>
4
4
 * 
5
5
 *     This program is free software; you can redistribute it and/or modify
6
6
 *     it under the terms of the GNU General Public License as published by
23
23
 
24
24
#include "mutt.h"
25
25
#include "mutt_menu.h"
26
 
#include "rfc1524.h"
27
26
#include "mime.h"
28
27
#include "mailbox.h"
29
28
#include "mapping.h"
30
29
#include "sort.h"
31
30
#ifdef USE_IMAP
32
 
#include "mx.h"
33
31
#include "imap.h"
34
32
#endif
35
33
#include "mutt_crypt.h"
93
91
      if (newpc >= 0)
94
92
      {
95
93
        PostCount = newpc;
96
 
        dprint (2, (debugfile, "mutt_num_postponed: %d postponed IMAP messages found.\n", PostCount));
 
94
        dprint (3, (debugfile, "mutt_num_postponed: %d postponed IMAP messages found.\n", PostCount));
97
95
      }
98
96
      else
99
 
        dprint (2, (debugfile, "mutt_num_postponed: using old IMAP postponed count.\n"));
 
97
        dprint (3, (debugfile, "mutt_num_postponed: using old IMAP postponed count.\n"));
100
98
    }
101
99
    return PostCount;
102
100
  }
160
158
  char helpstr[LONG_STRING];
161
159
  short orig_sort;
162
160
 
163
 
  menu = mutt_new_menu ();
 
161
  menu = mutt_new_menu (MENU_POST);
164
162
  menu->make_entry = post_entry;
165
 
  menu->menu = MENU_POST;
166
163
  menu->max = PostContext->msgcount;
167
164
  menu->title = _("Postponed Messages");
168
165
  menu->data = PostContext;
322
319
      p = tmp->data + 11;
323
320
      SKIPWS (p);
324
321
      strfcpy (fcc, p, fcclen);
325
 
      mutt_pretty_mailbox (fcc);
 
322
      mutt_pretty_mailbox (fcc, fcclen);
326
323
 
327
324
      /* remove the X-Mutt-Fcc: header field */
328
325
      next = tmp->next;