From c7ac2cb4f382d432eeba52777bff2c5c99680d4c Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Thu, 25 Mar 2004 06:56:12 +0000 Subject: Use gtk_window_present instead of doing a show then raise, as this also 2004-03-25 Rodney Dawes * 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 --- mail/mail-account-editor.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/mail-account-editor.c') 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 */ -- cgit v1.2.3