2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Set the text of the reply-to. (mail_account_gui_save): Get the reply-to text here. (mail_account_gui_identity_complete): If there is text in the reply-to widget make sure it's valid. * mail-config.c (identity_copy): Copy the reply-to. (config_read): Read in the reply-to for all the accounts. (mail_config_write): Save the reply-to. (impl_GNOME_Evolution_MailConfig_addAccount): Get the reply-to. (identity_destroy): Free the reply-to. svn path=/trunk/; revision=16446
83 lines
1.3 KiB
Plaintext
83 lines
1.3 KiB
Plaintext
/*
|
|
* mail.idl: Mail interfaces for Evolution
|
|
*
|
|
* Author:
|
|
* Miguel de Icaza (miguel@ximian.com)
|
|
*
|
|
* (C) 2000 Ximian, Inc.
|
|
*/
|
|
|
|
#include <Bonobo.idl>
|
|
|
|
module GNOME {
|
|
module Evolution {
|
|
|
|
interface MessageList : Bonobo::Unknown {
|
|
|
|
void selectMessage (in long message_number);
|
|
void openMessage (in long message_number);
|
|
};
|
|
|
|
/*
|
|
* FolderBrowser object.
|
|
*
|
|
* configuration of this widget is done trough
|
|
* Bonobo Properties
|
|
*/
|
|
interface FolderBrowser : Bonobo::Unknown {
|
|
MessageList getMessageList ();
|
|
};
|
|
|
|
interface FolderInfo : Bonobo::Unknown {
|
|
struct MessageCount {
|
|
string path;
|
|
long count;
|
|
long unread;
|
|
};
|
|
|
|
void getInfo (in string foldername,
|
|
in Bonobo::Listener listener);
|
|
};
|
|
|
|
interface MailConfig : Bonobo::Unknown {
|
|
|
|
struct Identity {
|
|
string name;
|
|
string address;
|
|
string reply_to;
|
|
string organization;
|
|
};
|
|
|
|
struct Service {
|
|
string url;
|
|
boolean keep_on_server;
|
|
boolean auto_check;
|
|
long auto_check_time;
|
|
boolean save_passwd;
|
|
boolean enabled;
|
|
};
|
|
|
|
struct Account {
|
|
string name;
|
|
|
|
Identity id;
|
|
Service source;
|
|
Service transport;
|
|
|
|
string drafts_folder_uri;
|
|
string sent_folder_uri;
|
|
};
|
|
|
|
void addAccount (in Account acc);
|
|
};
|
|
|
|
interface MailFilter : Bonobo::Unknown {
|
|
|
|
void addFilter (in string rule);
|
|
|
|
void removeFilter (in string rule);
|
|
};
|
|
};
|
|
};
|
|
|