aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c10
-rw-r--r--addressbook/gui/contact-editor/e-contact-quick-add.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 2973730788..501af7d97e 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -43,7 +43,7 @@
#include "addressbook/printing/e-contact-print.h"
#include "addressbook/gui/widgets/eab-gui-util.h"
#include "e-util/e-util.h"
-#include "e-util/e-error.h"
+#include "e-util/e-alert.h"
#include "misc/e-dateedit.h"
#include "misc/e-image-chooser.h"
#include "misc/e-url-entry.h"
@@ -2345,7 +2345,7 @@ extract_simple_field (EContactEditor *editor, GtkWidget *widget, gint field_id)
if ((height > 96 || width > 96)) {
prompt_response =
- e_error_run_dialog_for_args
+ e_alert_run_dialog_for_args
(GTK_WINDOW (editor->app),
"addressbook:prompt-resize",
NULL);
@@ -2773,7 +2773,7 @@ categories_clicked (GtkWidget *button, EContactEditor *editor)
g_free (categories);
return;
}else if (!(dialog = GTK_DIALOG (e_categories_dialog_new (categories)))) {
- e_error_run_dialog_for_args (GTK_WINDOW (editor->app),
+ e_alert_run_dialog_for_args (GTK_WINDOW (editor->app),
"addressbook:edit-categories",
NULL);
g_free (categories);
@@ -3061,7 +3061,7 @@ save_contact (EContactEditor *ce, gboolean should_close)
return;
if (ce->target_editable && !e_book_is_writable (ce->source_book)) {
- if (e_error_run_dialog_for_args (GTK_WINDOW (ce->app),
+ if (e_alert_run_dialog_for_args (GTK_WINDOW (ce->app),
"addressbook:prompt-move",
NULL) == GTK_RESPONSE_NO)
return;
@@ -3209,7 +3209,7 @@ e_contact_editor_is_valid (EABEditor *editor)
if (validation_error) {
g_string_append (errmsg, ".");
- e_error_run_dialog_for_args (GTK_WINDOW (ce->app),
+ e_alert_run_dialog_for_args (GTK_WINDOW (ce->app),
"addressbook:generic-error",
_("Invalid contact."), errmsg->str,
NULL);
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c
index ced2f2ec12..bc750d15ef 100644
--- a/addressbook/gui/contact-editor/e-contact-quick-add.c
+++ b/addressbook/gui/contact-editor/e-contact-quick-add.c
@@ -33,7 +33,7 @@
#include "e-contact-editor.h"
#include "e-contact-quick-add.h"
#include "eab-contact-merging.h"
-#include "e-util/e-error.h"
+#include "e-util/e-alert.h"
typedef struct _QuickAdd QuickAdd;
struct _QuickAdd {
@@ -129,7 +129,7 @@ merge_cb (EBook *book, EBookStatus status, gpointer closure)
if (e_book_is_writable (book))
eab_merging_book_add_contact (book, qa->contact, NULL, NULL);
else
- 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:error-read-only",
e_source_peek_name (e_book_get_source (book)),
NULL);