aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-composer-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-composer-actions.c')
-rw-r--r--composer/e-composer-actions.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/composer/e-composer-actions.c b/composer/e-composer-actions.c
index f7ea281f78..31c069a088 100644
--- a/composer/e-composer-actions.c
+++ b/composer/e-composer-actions.c
@@ -21,7 +21,7 @@
#include <errno.h>
#include <fcntl.h>
-#include <e-util/e-error.h>
+#include <e-util/e-alert.h>
static void
action_attach_cb (GtkAction *action,
@@ -78,7 +78,7 @@ action_close_cb (GtkAction *action,
if (subject == NULL || *subject == '\0')
subject = _("Untitled Message");
- response = e_error_run_dialog_for_args (
+ response = e_alert_run_dialog_for_args (
GTK_WINDOW (composer),
"mail-composer:exit-unsaved",
subject, NULL);
@@ -162,16 +162,16 @@ action_save_cb (GtkAction *action,
if (g_file_test (filename, G_FILE_TEST_IS_REGULAR)) {
gint response;
- response = e_error_run_dialog_for_args (
+ response = e_alert_run_dialog_for_args (
GTK_WINDOW (composer),
- E_ERROR_ASK_FILE_EXISTS_OVERWRITE,
+ E_ALERT_ASK_FILE_EXISTS_OVERWRITE,
filename, NULL);
if (response != GTK_RESPONSE_OK)
return;
} else {
- e_error_run_dialog_for_args (
+ e_alert_run_dialog_for_args (
GTK_WINDOW (composer),
- E_ERROR_NO_SAVE_FILE, filename,
+ E_ALERT_NO_SAVE_FILE, filename,
g_strerror (errno_saved), NULL);
return;
}
@@ -179,9 +179,9 @@ action_save_cb (GtkAction *action,
close (fd);
if (!gtkhtml_editor_save (editor, filename, TRUE, &error)) {
- e_error_run_dialog_for_args (
+ e_alert_run_dialog_for_args (
GTK_WINDOW (composer),
- E_ERROR_NO_SAVE_FILE,
+ E_ALERT_NO_SAVE_FILE,
filename, error->message, NULL);
g_error_free (error);
return;