diff options
author | Dan Winship <danw@src.gnome.org> | 2002-04-05 04:02:48 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-04-05 04:02:48 +0800 |
commit | b064051f5ff3c148c54c9fc11efc6078fea8157c (patch) | |
tree | e7ab4c6ec2f313cd03e0f22d0e9562a3056239e2 /mail/mail-account-gui.h | |
parent | 54ddaa6e4852542cf37cfb32fa6bfcec92a2dd0d (diff) | |
download | gsoc2013-evolution-b064051f5ff3c148c54c9fc11efc6078fea8157c.tar.gz gsoc2013-evolution-b064051f5ff3c148c54c9fc11efc6078fea8157c.tar.zst gsoc2013-evolution-b064051f5ff3c148c54c9fc11efc6078fea8157c.zip |
Make the drafts and sent folder buttons be EvolutionFolderSelectorButtons.
* mail-account-gui.c (mail_account_gui_new): Make the drafts and
sent folder buttons be EvolutionFolderSelectorButtons. Remove the
code to deal with drafts_folder_name and sent_folder_name, since
they were only used to construct the button and aren't needed now.
(mail_account_gui_save): Remove drafts/sent name references.
(mail_account_gui_destroy): Likewise
(folder_selected): Handle the "selected" signal on the folder
selector button by updating the URI in the MailAccountGui.
(mail_account_gui_folder_selector_button_new): Glade custom widget
constructor.
* mail-callbacks.c (transfer_msg): Update for
evolution_shell_client_user_select_folder change.
* message-browser.c (transfer_msg): Likewise. (Sigh. Why is this
cut+pasted?)
* mail-config.glade: Make the drafts/sent folder buttons custom
widgets.
* mail-config.c (account_copy): Remove drafts/sent folder name
handling.
(account_destroy): Likewise.
(config_read): Likewise.
(mail_config_write): Likewise.
* Mail.idl (MailConfig:Account): remove drafts_folder_name and
sent_folder_name.
svn path=/trunk/; revision=16353
Diffstat (limited to 'mail/mail-account-gui.h')
-rw-r--r-- | mail/mail-account-gui.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mail/mail-account-gui.h b/mail/mail-account-gui.h index b62d9a1966..6a6735bf48 100644 --- a/mail/mail-account-gui.h +++ b/mail/mail-account-gui.h @@ -58,10 +58,6 @@ typedef struct { } MailAccountGuiService; typedef struct { - char *name, *uri; -} MailAccountGuiFolder; - -typedef struct { GtkWidget *top; MailConfigAccount *account; MailAccountsTab *dialog; @@ -102,9 +98,9 @@ typedef struct { /* special folders */ GtkButton *drafts_folder_button; - MailAccountGuiFolder drafts_folder; + char *drafts_folder_uri; GtkButton *sent_folder_button; - MailAccountGuiFolder sent_folder; + char *sent_folder_uri; /* always cc/bcc */ GtkToggleButton *always_cc; |