aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-01-31 07:46:32 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-01-31 07:46:32 +0800
commit207303df9e2464c379d3b6e63f388d58332a428a (patch)
treed0f8ee7c35b07a598f4e42843ebe64974e76f0b0 /mail/mail-accounts.c
parente456a9a26422dcc2dcaa7dbc1fd1e392b80bb95a (diff)
downloadgsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar.gz
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar.bz2
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar.lz
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar.xz
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar.zst
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.zip
Pass the parent window to mail_account_editor_new().
2002-01-30 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_edit): Pass the parent window to mail_account_editor_new(). * mail-account-editor.c (mail_account_editor_new): Set the parent window here because construct() inadvertantly gtk_widget_show_all's the editor. * mail-account-gui.c (mail_account_gui_save): Use g_basename() rather than strrchr for '/' especially since the strrchr code wasn't doing any NULL checks. svn path=/trunk/; revision=15533
Diffstat (limited to 'mail/mail-accounts.c')
-rw-r--r--mail/mail-accounts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c
index db8a09a481..79f7b49a79 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -259,8 +259,7 @@ mail_edit (GtkButton *button, gpointer data)
MailConfigAccount *account;
account = gtk_clist_get_row_data (dialog->mail_accounts, dialog->accounts_row);
- editor = mail_account_editor_new (account);
- gnome_dialog_set_parent (GNOME_DIALOG (editor), GTK_WINDOW (dialog));
+ editor = mail_account_editor_new (account, GTK_WINDOW (dialog));
gtk_signal_connect (GTK_OBJECT (editor), "destroy",
GTK_SIGNAL_FUNC (mail_editor_destroyed),
dialog);