aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-editor.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2001-01-09 04:05:56 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-09 04:05:56 +0800
commit51bd9ba1bb27bf599c373c77248f97eba3c5dd74 (patch)
treebeab1e85d9dc1fdd671d30c4a93315491c4b422b /mail/mail-account-editor.c
parent0dae964dba8d9f07bf46b36a55a52f685cbd8ff2 (diff)
downloadgsoc2013-evolution-51bd9ba1bb27bf599c373c77248f97eba3c5dd74.tar.gz
gsoc2013-evolution-51bd9ba1bb27bf599c373c77248f97eba3c5dd74.tar.zst
gsoc2013-evolution-51bd9ba1bb27bf599c373c77248f97eba3c5dd74.zip
A bunch of fixes.
2001-01-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c: A bunch of fixes. * mail-accounts.c: More fixes... * mail-account-editor.c (construct): Reparent the notebook to the editor->vbox and set the resize policy. svn path=/trunk/; revision=7301
Diffstat (limited to 'mail/mail-account-editor.c')
-rw-r--r--mail/mail-account-editor.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c
index 1efbfec9d0..6d25d54a0a 100644
--- a/mail/mail-account-editor.c
+++ b/mail/mail-account-editor.c
@@ -391,14 +391,16 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account)
notebook = glade_xml_get_widget (gui, "notebook");
/* reparent */
- gtk_widget_reparent (notebook, GTK_WIDGET (editor));
+ gtk_widget_reparent (notebook, GNOME_DIALOG (editor)->vbox);
/* give our dialog an OK button and title */
gtk_window_set_title (GTK_WINDOW (editor), _("Evolution Account Editor"));
+ gtk_window_set_policy (GTK_WINDOW (editor), FALSE, TRUE, TRUE);
gnome_dialog_append_buttons (GNOME_DIALOG (editor),
GNOME_STOCK_BUTTON_OK,
GNOME_STOCK_BUTTON_APPLY,
- GNOME_STOCK_BUTTON_CANCEL);
+ GNOME_STOCK_BUTTON_CANCEL,
+ NULL);
gnome_dialog_button_connect (GNOME_DIALOG (editor), 0 /* OK */,
GTK_SIGNAL_FUNC (ok_clicked),
@@ -415,7 +417,7 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account)
gtk_entry_set_text (editor->account_name, account->name);
editor->name = GTK_ENTRY (glade_xml_get_widget (gui, "txtName"));
gtk_entry_set_text (editor->name, account->id->name);
- editor->email = GTK_ENTRY (glade_xml_get_widget (gui, "txtEMail"));
+ editor->email = GTK_ENTRY (glade_xml_get_widget (gui, "txtAddress"));
gtk_entry_set_text (editor->email, account->id->address);
editor->reply_to = GTK_ENTRY (glade_xml_get_widget (gui, "txtReplyTo"));
gtk_entry_set_text (editor->reply_to, account->id->reply_to);