aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-19 08:25:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-19 08:25:06 +0800
commit18dab3abfde272dbf6d6010ae3378cf08c09f390 (patch)
tree8559550c4217029f44cb4f77cf771d958b58295e
parent4eb2a82d5cdffafd01aaeac0b917ccc3b2ab0541 (diff)
downloadgsoc2013-evolution-18dab3abfde272dbf6d6010ae3378cf08c09f390.tar.gz
gsoc2013-evolution-18dab3abfde272dbf6d6010ae3378cf08c09f390.tar.zst
gsoc2013-evolution-18dab3abfde272dbf6d6010ae3378cf08c09f390.zip
Don't make the mail settings dialog modal.
2001-10-18 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (providers_config): Don't make the mail settings dialog modal. svn path=/trunk/; revision=13780
-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));
}
}