diff options
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 8 | ||||
-rw-r--r-- | addressbook/gui/widgets/eab-gui-util.c | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 3e10722c00..cb64e36272 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -52,7 +52,7 @@ #include "e-addressbook-table-adapter.h" #include "eab-contact-merging.h" -#include "e-util/e-error.h" +#include "e-util/e-alert.h" #include "e-util/e-util-private.h" #include <gdk/gdkkeysyms.h> @@ -894,7 +894,7 @@ backend_died (EAddressbookView *view) model = e_addressbook_view_get_model (view); book = e_addressbook_model_get_book (model); - e_error_run_dialog_for_args ( + e_alert_run_dialog_for_args ( GTK_WINDOW (shell_window), "addressbook:backend-died", e_book_get_uri (book), NULL); @@ -1013,7 +1013,7 @@ delete_contacts_cb (EBook *book, EBookStatus status, gpointer closure) case E_BOOK_ERROR_CANCELLED : break; case E_BOOK_ERROR_PERMISSION_DENIED : - e_error_run_dialog_for_args (e_shell_get_active_window (NULL), + e_alert_run_dialog_for_args (e_shell_get_active_window (NULL), "addressbook:contact-delete-error-perm", NULL); break; @@ -1217,7 +1217,7 @@ e_addressbook_view_view (EAddressbookView *view) if (length > 5) { GtkWidget *dialog; - /* XXX Use e_error_new(). */ + /* XXX Use e_alert_new(). */ /* XXX Provide a parent window. */ dialog = gtk_message_dialog_new ( NULL, 0, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c index e80e65575f..efc97e682e 100644 --- a/addressbook/gui/widgets/eab-gui-util.c +++ b/addressbook/gui/widgets/eab-gui-util.c @@ -35,7 +35,7 @@ #include "eab-gui-util.h" #include "util/eab-book-util.h" #include <libebook/e-destination.h> -#include "e-util/e-error.h" +#include "e-util/e-alert.h" #include "e-util/e-html-utils.h" #include "shell/e-shell.h" #include "misc/e-image-chooser.h" @@ -86,7 +86,7 @@ eab_error_dialog (const gchar *msg, EBookStatus status) status_str = status_to_string [status]; if (status_str) - e_error_run_dialog_for_args (e_shell_get_active_window (NULL), + e_alert_run_dialog_for_args (e_shell_get_active_window (NULL), "addressbook:generic-error", msg, _(status_str), NULL); } @@ -147,7 +147,7 @@ eab_load_error_dialog (GtkWidget *parent, ESource *source, EBookStatus status) } } - dialog = e_error_new_dialog_for_args ((GtkWindow *) parent, "addressbook:load-error", label_string, NULL); + dialog = e_alert_new_dialog_for_args ((GtkWindow *) parent, "addressbook:load-error", label_string, NULL); g_signal_connect (dialog, "response", G_CALLBACK (gtk_widget_destroy), NULL); gtk_widget_show (dialog); @@ -189,13 +189,13 @@ eab_search_result_dialog (GtkWidget *parent, g_return_if_reached (); } - e_error_run_dialog_for_args ((GtkWindow *) parent, "addressbook:search-error", str, NULL); + e_alert_run_dialog_for_args ((GtkWindow *) parent, "addressbook:search-error", str, NULL); } gint eab_prompt_save_dialog (GtkWindow *parent) { - return e_error_run_dialog_for_args (parent, "addressbook:prompt-save", NULL); + return e_alert_run_dialog_for_args (parent, "addressbook:prompt-save", NULL); } static gchar * |