From b064051f5ff3c148c54c9fc11efc6078fea8157c Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 4 Apr 2002 20:02:48 +0000 Subject: 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 --- mail/mail-config.glade | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'mail/mail-config.glade') diff --git a/mail/mail-config.glade b/mail/mail-config.glade index 714d830c8e..12a33f4dd8 100644 --- a/mail/mail-config.glade +++ b/mail/mail-config.glade @@ -1917,11 +1917,12 @@ Kerberos - GtkButton + Custom drafts_button - True - - GTK_RELIEF_NORMAL + mail_account_gui_folder_selector_button_new + 0 + 0 + Wed, 03 Apr 2002 23:03:41 GMT 1 2 @@ -1934,16 +1935,17 @@ Kerberos False False True - False + True - GtkButton + Custom sent_button - True - - GTK_RELIEF_NORMAL + mail_account_gui_folder_selector_button_new + 0 + 0 + Wed, 03 Apr 2002 23:03:59 GMT 1 2 @@ -1956,7 +1958,7 @@ Kerberos False False True - False + True -- cgit v1.2.3