aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.glade
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-04-05 04:02:48 +0800
committerDan Winship <danw@src.gnome.org>2002-04-05 04:02:48 +0800
commitb064051f5ff3c148c54c9fc11efc6078fea8157c (patch)
treee7ab4c6ec2f313cd03e0f22d0e9562a3056239e2 /mail/mail-config.glade
parent54ddaa6e4852542cf37cfb32fa6bfcec92a2dd0d (diff)
downloadgsoc2013-evolution-b064051f5ff3c148c54c9fc11efc6078fea8157c.tar
gsoc2013-evolution-b064051f5ff3c148c54c9fc11efc6078fea8157c.tar.gz
gsoc2013-evolution-b064051f5ff3c148c54c9fc11efc6078fea8157c.tar.bz2
gsoc2013-evolution-b064051f5ff3c148c54c9fc11efc6078fea8157c.tar.lz
gsoc2013-evolution-b064051f5ff3c148c54c9fc11efc6078fea8157c.tar.xz
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-config.glade')
-rw-r--r--mail/mail-config.glade22
1 files changed, 12 insertions, 10 deletions
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
</widget>
<widget>
- <class>GtkButton</class>
+ <class>Custom</class>
<name>drafts_button</name>
- <can_focus>True</can_focus>
- <label>Drafts</label>
- <relief>GTK_RELIEF_NORMAL</relief>
+ <creation_function>mail_account_gui_folder_selector_button_new</creation_function>
+ <int1>0</int1>
+ <int2>0</int2>
+ <last_modification_time>Wed, 03 Apr 2002 23:03:41 GMT</last_modification_time>
<child>
<left_attach>1</left_attach>
<right_attach>2</right_attach>
@@ -1934,16 +1935,17 @@ Kerberos
<xshrink>False</xshrink>
<yshrink>False</yshrink>
<xfill>True</xfill>
- <yfill>False</yfill>
+ <yfill>True</yfill>
</child>
</widget>
<widget>
- <class>GtkButton</class>
+ <class>Custom</class>
<name>sent_button</name>
- <can_focus>True</can_focus>
- <label>Sent</label>
- <relief>GTK_RELIEF_NORMAL</relief>
+ <creation_function>mail_account_gui_folder_selector_button_new</creation_function>
+ <int1>0</int1>
+ <int2>0</int2>
+ <last_modification_time>Wed, 03 Apr 2002 23:03:59 GMT</last_modification_time>
<child>
<left_attach>1</left_attach>
<right_attach>2</right_attach>
@@ -1956,7 +1958,7 @@ Kerberos
<xshrink>False</xshrink>
<yshrink>False</yshrink>
<xfill>True</xfill>
- <yfill>False</yfill>
+ <yfill>True</yfill>
</child>
</widget>
</widget>