aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-27 01:39:40 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-27 01:39:40 +0800
commit7cf48456bdc58536a12dca81d902f15a63f44e4d (patch)
tree6d23b2dcc6c30a05f8a2fa6f20d8c440f528b3e9
parent743527c36fae980f0c577544bd28b852f5171f19 (diff)
downloadgsoc2013-evolution-7cf48456bdc58536a12dca81d902f15a63f44e4d.tar
gsoc2013-evolution-7cf48456bdc58536a12dca81d902f15a63f44e4d.tar.gz
gsoc2013-evolution-7cf48456bdc58536a12dca81d902f15a63f44e4d.tar.bz2
gsoc2013-evolution-7cf48456bdc58536a12dca81d902f15a63f44e4d.tar.lz
gsoc2013-evolution-7cf48456bdc58536a12dca81d902f15a63f44e4d.tar.xz
gsoc2013-evolution-7cf48456bdc58536a12dca81d902f15a63f44e4d.tar.zst
gsoc2013-evolution-7cf48456bdc58536a12dca81d902f15a63f44e4d.zip
Set the GdkWindow of the FolderBrowser, not the GtkWindow...
2001-10-25 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (providers_config): Set the GdkWindow of the FolderBrowser, not the GtkWindow... svn path=/trunk/; revision=14148
-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);