From fea6083abffc47a4f9fd2d8988e924ad19a394c3 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 25 Mar 2003 15:49:19 +0000 Subject: 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 --- mail/ChangeLog | 11 +++++++++++ mail/mail-account-editor.c | 4 ++-- mail/mail-account-gui.c | 5 ++--- mail/mail-account-gui.h | 1 - mail/mail-callbacks.c | 1 - mail/mail-local.c | 2 +- mail/mail-signature-editor.c | 2 +- mail/mail-vfolder.c | 2 +- 8 files changed, 18 insertions(+), 10 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 81d221c14f..f62eaefee3 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,16 @@ 2003-03-25 Dan Winship + * 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 + * component-factory.c (interactive_cb): Update prototype 2003-03-25 Not Zed diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c index 0183ddca1f..b4cdbc7cef 100644 --- a/mail/mail-account-editor.c +++ b/mail/mail-account-editor.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include "mail-account-editor.h" #include "mail-session.h" @@ -99,7 +99,7 @@ apply_changes (MailAccountEditor *editor) if (page != -1) { gtk_notebook_set_current_page (editor->notebook, page); gtk_widget_grab_focus (incomplete); - e_notice (NULL, GTK_MESSAGE_ERROR, _("You have not filled in all of the required information.")); + e_notice (editor, GTK_MESSAGE_ERROR, _("You have not filled in all of the required information.")); return FALSE; } 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 #include - -#include +#include #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; } diff --git a/mail/mail-account-gui.h b/mail/mail-account-gui.h index 74c00d5dc0..d003885bd4 100644 --- a/mail/mail-account-gui.h +++ b/mail/mail-account-gui.h @@ -58,7 +58,6 @@ typedef struct { } MailAccountGuiService; typedef struct { - GtkWidget *top; EAccount *account; MailAccountsTab *dialog; GladeXML *xml; diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index b3c24a2580..d1fbb74957 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -45,7 +45,6 @@ #include #include #include -#include #include #include diff --git a/mail/mail-local.c b/mail/mail-local.c index e71a3315c2..cbec89d89e 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -37,7 +37,7 @@ #include #include "e-util/e-path.h" -#include +#include "e-util/e-dialog-utils.h" #include #include "Evolution.h" diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c index d4a4272fbb..7a28e7a912 100644 --- a/mail/mail-signature-editor.c +++ b/mail/mail-signature-editor.c @@ -31,7 +31,7 @@ #include #include -#include +#include #include "e-msg-composer.h" #include "mail-signature-editor.h" diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index de90ffac19..da87a5f13e 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -41,7 +41,7 @@ #include "mail-ops.h" #include "mail-mt.h" -#include "gal/widgets/e-gui-utils.h" +#include "e-util/e-dialog-utils.h" #include "camel/camel.h" #include "camel/camel-vee-folder.h" -- cgit v1.2.3