#endif
#define COMPOSE_CHECK_BEFORE_SEND_HOOKLIST "compose_check_before_send"
+#define COMPOSE_CREATED_HOOKLIST "compose_created"
typedef enum
{
COMPOSE_BCC,
COMPOSE_REPLYTO,
COMPOSE_NEWSGROUPS,
- COMPOSE_FOLLOWUPTO
+ COMPOSE_FOLLOWUPTO,
+ COMPOSE_INREPLYTO
} ComposeEntryType;
typedef enum
COMPOSE_REEDIT
} ComposeMode;
+typedef enum {
+ PREF_ACCOUNT,
+ PREF_FOLDER,
+ PREF_TEMPLATE,
+ PREF_ML,
+ PREF_MAILTO,
+ PREF_NONE
+} ComposePrefType;
+
typedef struct {
guint headernum;
Compose *compose;
GtkWidget *entry;
GtkWidget *button;
GtkWidget *hbox;
+ ComposePrefType type;
} ComposeHeaderEntry;
struct _Compose
guint header_nextrow;
ComposeHeaderEntry *header_last;
+ GHashTable *email_hashtable;
+
gchar *replyto;
gchar *cc;
gchar *bcc;
void compose_entry_append (Compose *compose,
const gchar *address,
- ComposeEntryType type);
+ ComposeEntryType type,
+ ComposePrefType pref_type);
gint compose_send (Compose *compose);