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
This commit is contained in:
Jeffrey Stedfast
2001-10-26 17:39:40 +00:00
committed by Jeffrey Stedfast
parent 743527c36f
commit 7cf48456bd
3 changed files with 10 additions and 4 deletions

View File

@ -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.

View File

@ -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);

View File

@ -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);