aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-editor.c
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2004-03-25 14:56:12 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-03-25 14:56:12 +0800
commitc7ac2cb4f382d432eeba52777bff2c5c99680d4c (patch)
treec783478d5dad3a4561483fcb19e220211101ed7e /mail/mail-account-editor.c
parent67899e48828efa4276e1f2209495c7191db798c3 (diff)
downloadgsoc2013-evolution-c7ac2cb4f382d432eeba52777bff2c5c99680d4c.tar.gz
gsoc2013-evolution-c7ac2cb4f382d432eeba52777bff2c5c99680d4c.tar.zst
gsoc2013-evolution-c7ac2cb4f382d432eeba52777bff2c5c99680d4c.zip
Use gtk_window_present instead of doing a show then raise, as this also
2004-03-25 Rodney Dawes <dobey@ximian.com> * em-composer-prefs.c (sig_edit_cb): (sig_add_script_cb): Use gtk_window_present instead of doing a show then raise, as this also puts the window on the current workspace (em_composer_prefs_construct): Fix the border widths for the dialog vbox and action area to be HIG-compliant, and realize the window Remove the dialog separator Use a box_pack_start, rather than box_pack_start_defaults which causes some weird behaviour when changing the border widths * em-subscribe-editor.c (em_subscribe_editor_new): Realize the dialog and set the border widths for its vbox and action area to be compliant with the HIG * local-config.glade: Removed this file as it is no longer used * mail-account-editor.c (construct): Realize the dialog, remove its separator, and set the border widths for its vbox and action area to be HIG-compliant * mail-account-editor.c (source_type_changed): (transport_type_changed): Fix the showing and hiding of the widgets related to the SSL options (mail_account_gui_new): Get the transport/source frames for the SSL options, and hide them by default Show the default folder buttons by default here (mail_account_gui_setup): Only call _show not _show_all here, so we don't mess up the shown/hidden state of things * mail-account-gui.h: Add ssl_frame widget to the MailAccountGuiService * mail-config.glade: * mail-search.glade: * mail-security.glade: HIG-compliance fixes for the glade dialogs * message-tag-followup.c (construct): Don't set border_width on the dialog itself Remove the separator from the dialog Set the border_widths for the dialog's vbox and action areas to be compliant with the HIG * message-tags.glade: * subscribe-dialog.glade: HIG-compliance fixes for these dialogs Original patch from Martyn Russell svn path=/trunk/; revision=25183
Diffstat (limited to 'mail/mail-account-editor.c')
-rw-r--r--mail/mail-account-editor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c
index 8dc2a4f99a..6a599100d6 100644
--- a/mail/mail-account-editor.c
+++ b/mail/mail-account-editor.c
@@ -130,6 +130,11 @@ construct (MailAccountEditor *editor, EAccount *account, EMAccountPrefs *dialog)
{
EAccountService *source = account->source;
+ gtk_widget_realize (GTK_WIDGET (editor));
+ gtk_dialog_set_has_separator (GTK_DIALOG (editor), FALSE);
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (editor)->action_area), 12);
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (editor)->vbox), 0);
+
editor->gui = mail_account_gui_new (account, dialog);
/* get our toplevel widget and reparent it */