From c2ee0afbc85ce3ddf38ec07497c0cdae4f42a7fc Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Mon, 30 Nov 2009 11:34:43 -0600 Subject: Rename EError to EAlert to match general use better The EError mechanism is used both for error dialogs as well as basic alerts or user prompts, so we should give it a more general name which matches this use. This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that were not actually being used. https://bugzilla.gnome.org/show_bug.cgi?id=602963 --- modules/addressbook/e-book-shell-view-actions.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/addressbook/e-book-shell-view-actions.c') diff --git a/modules/addressbook/e-book-shell-view-actions.c b/modules/addressbook/e-book-shell-view-actions.c index a12dc7f6de..cf5c615238 100644 --- a/modules/addressbook/e-book-shell-view-actions.c +++ b/modules/addressbook/e-book-shell-view-actions.c @@ -21,7 +21,7 @@ #include "e-book-shell-view-private.h" -#include +#include #include #include @@ -68,7 +68,7 @@ action_address_book_delete_cb (GtkAction *action, source = e_source_selector_peek_primary_selection (selector); g_return_if_fail (source != NULL); - response = e_error_run_dialog_for_args ( + response = e_alert_run_dialog_for_args ( GTK_WINDOW (shell_window), "addressbook:ask-delete-addressbook", e_source_peek_name (source)); @@ -84,7 +84,7 @@ action_address_book_delete_cb (GtkAction *action, } if (!e_book_remove (book, NULL)) { - e_error_run_dialog_for_args ( + e_alert_run_dialog_for_args ( GTK_WINDOW (shell_window), "addressbook:remove-addressbook", NULL); g_object_unref (book); @@ -274,7 +274,7 @@ action_address_book_save_as_cb (GtkAction *action, /* XXX No callback means errors are discarded. * - * There's an EError for this which I'm not using + * There's an EAlert for this which I'm not using * until I figure out a better way to display errors: * * "addressbook:save-error" @@ -575,7 +575,7 @@ action_contact_save_as_cb (GtkAction *action, /* XXX No callback means errors are discarded. * - * There an EError for this which I'm not using + * There an EAlert for this which I'm not using * until I figure out a better way to display errors: * * "addressbook:save-error" -- cgit v1.2.3