aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-accounts.c2
-rw-r--r--mail/mail-callbacks.c4
3 files changed, 10 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b54a704dfc..8ee5b6e587 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,6 +1,12 @@
+2001-10-25 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-callbacks.c (providers_config): Set the GdkWindow of the
+ FolderBrowser, not the GtkWindow...
+
2001-10-26 <NotZed@Ximian.com>
- * component-factory.c (owner_unset_cb): Use a timeout not an idle handler.
+ * component-factory.c (owner_unset_cb): Use a timeout not an idle
+ handler.
* mail-callbacks.c (providers_config): Only set the parent window.
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c
index 32368e4e95..4a34a5272f 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -250,7 +250,7 @@ mail_edit (GtkButton *button, gpointer data)
account = gtk_clist_get_row_data (dialog->mail_accounts, dialog->accounts_row);
editor = mail_account_editor_new (account);
- gnome_dialog_set_parent((GnomeDialog *)editor, GTK_WINDOW (dialog));
+ gnome_dialog_set_parent (GNOME_DIALOG (editor), GTK_WINDOW (dialog));
gtk_signal_connect (GTK_OBJECT (editor), "destroy",
GTK_SIGNAL_FUNC (mail_editor_destroyed),
dialog);
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index c184714f86..e5f3749029 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -2237,8 +2237,8 @@ providers_config (BonoboUIComponent *uih, void *user_data, const char *path)
if (!accounts_dialog) {
accounts_dialog = mail_accounts_dialog_new (fb->shell);
- gtk_widget_set_parent_window (GTK_WIDGET (accounts_dialog), fb);
-
+ gtk_widget_set_parent_window (GTK_WIDGET (accounts_dialog),
+ GTK_WIDGET (FB_WINDOW (fb))->window);
gtk_signal_connect (GTK_OBJECT (accounts_dialog), "destroy",
accounts_dialog_close, NULL);
gnome_dialog_set_close (GNOME_DIALOG (accounts_dialog), TRUE);