aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-03-25 23:49:19 +0800
committerDan Winship <danw@src.gnome.org>2003-03-25 23:49:19 +0800
commitfea6083abffc47a4f9fd2d8988e924ad19a394c3 (patch)
tree83e852874848d3eddec8e85ac5f4b6431ed0f202 /mail/mail-account-gui.c
parentce81bdab983d9d3277de70c4d55286a6481cb42e (diff)
downloadgsoc2013-evolution-fea6083abffc47a4f9fd2d8988e924ad19a394c3.tar
gsoc2013-evolution-fea6083abffc47a4f9fd2d8988e924ad19a394c3.tar.gz
gsoc2013-evolution-fea6083abffc47a4f9fd2d8988e924ad19a394c3.tar.bz2
gsoc2013-evolution-fea6083abffc47a4f9fd2d8988e924ad19a394c3.tar.lz
gsoc2013-evolution-fea6083abffc47a4f9fd2d8988e924ad19a394c3.tar.xz
gsoc2013-evolution-fea6083abffc47a4f9fd2d8988e924ad19a394c3.tar.zst
gsoc2013-evolution-fea6083abffc47a4f9fd2d8988e924ad19a394c3.zip
Update for e_notice move (apply_changes): Pass a parent_window to e_notice
* mail-account-editor.c: Update for e_notice move (apply_changes): Pass a parent_window to e_notice * mail-account-gui.c: Update for e_notice move. (mail_account_gui_save): Pass a parent_window to e_notice * mail-callbacks.c: Update for e_notice move * mail-local.c: Likewise * mail-signature-editor.c: Likewise * mail-vfolder.c: Likewise svn path=/trunk/; revision=20502
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index 71202de030..1542de946d 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -34,8 +34,7 @@
#include <gconf/gconf-client.h>
#include <e-util/e-account-list.h>
-
-#include <gal/widgets/e-gui-utils.h>
+#include <e-util/e-dialog-utils.h>
#include "evolution-folder-selector-button.h"
#include "mail-account-gui.h"
@@ -1878,7 +1877,7 @@ mail_account_gui_save (MailAccountGui *gui)
account = mail_config_get_account_by_name (new_name);
if (account && account != new) {
- e_notice (NULL, GTK_MESSAGE_ERROR, _("You may not create two accounts with the same name."));
+ e_notice (gui->account_name, GTK_MESSAGE_ERROR, _("You may not create two accounts with the same name."));
return FALSE;
}