diff options
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r-- | mail/mail-send-recv.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index 167b4fd872..69089f97e8 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -33,7 +33,7 @@ #include "shell/e-shell.h" #include "e-util/e-account-utils.h" -#include "e-util/gconf-bridge.h" +#include "e-util/e-util.h" #include "e-mail-folder-utils.h" #include "e-mail-local.h" @@ -452,12 +452,16 @@ build_dialog (GtkWindow *parent, send_recv_dialog = gtk_dialog_new_with_buttons ( _("Send & Receive Mail"), parent, 0, NULL); + gd = GTK_DIALOG (send_recv_dialog); - gtk_window_set_modal ((GtkWindow *) gd, FALSE); + gtk_window_set_modal (GTK_WINDOW (send_recv_dialog), FALSE); + gtk_window_set_icon_name (GTK_WINDOW (gd), "mail-send-receive"); + gtk_window_set_default_size (GTK_WINDOW (gd), 600, 200); - gconf_bridge_bind_window_size ( - gconf_bridge_get (), GCONF_KEY_PREFIX, - GTK_WINDOW (send_recv_dialog)); + e_restore_window ( + GTK_WINDOW (gd), + "/org/gnome/evolution/mail/send-recv-window/", + E_RESTORE_WINDOW_SIZE); gtk_widget_ensure_style ((GtkWidget *) gd); @@ -475,8 +479,6 @@ build_dialog (GtkWindow *parent, gtk_widget_show (cancel_button); gtk_dialog_add_action_widget (gd, cancel_button, GTK_RESPONSE_CANCEL); - gtk_window_set_icon_name (GTK_WINDOW (gd), "mail-send-receive"); - num_sources = 0; iter = e_list_get_iterator ((EList *) accounts); |