aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-callbacks.c7
2 files changed, 9 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 53accab1ae..479fe8048f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-18 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-callbacks.c (providers_config): Don't make the mail
+ settings dialog modal.
+
2001-10-17 Ettore Perazzoli <ettore@ximian.com>
* mail-account-gui.c (folder_picker_clicked): Pass the toplevel to
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index ff14c1b16a..d9c85036f4 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -829,7 +829,7 @@ mail_generate_reply (CamelFolder *folder, CamelMimeMessage *message, const char
composer = e_msg_composer_new ();
e_msg_composer_add_message_attachments (composer, message, FALSE);
-
+
if (!composer)
return NULL;
@@ -917,7 +917,6 @@ mail_generate_reply (CamelFolder *folder, CamelMimeMessage *message, const char
dest = e_destination_new ();
e_destination_set_name (dest, name);
e_destination_set_email (dest, reply_addr);
- g_message (">>>>>>>>>> [%s] [%s]", name, reply_addr);
to = g_list_append (to, dest);
g_hash_table_insert (rcpt_hash, (char *) reply_addr, GINT_TO_POINTER (1));
}
@@ -2130,13 +2129,15 @@ providers_config (BonoboUIComponent *uih, void *user_data, const char *path)
if (!accounts_dialog) {
accounts_dialog = mail_accounts_dialog_new (fb->shell);
- gnome_dialog_set_parent (GNOME_DIALOG (accounts_dialog), FB_WINDOW (fb));
+ gtk_widget_set_parent (GTK_WIDGET (accounts_dialog), GTK_WIDGET (fb));
+ gtk_widget_set_parent_window (GTK_WIDGET (accounts_dialog), FB_WINDOW (fb));
gtk_signal_connect (GTK_OBJECT (accounts_dialog), "destroy",
accounts_dialog_close, NULL);
gnome_dialog_set_close (GNOME_DIALOG (accounts_dialog), TRUE);
gtk_widget_show (GTK_WIDGET (accounts_dialog));
} else {
gdk_window_raise (GTK_WIDGET (accounts_dialog)->window);
+ gtk_widget_grab_focus (GTK_WIDGET (accounts_dialog));
}
}