aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/external-editor
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-01 01:34:43 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-01 03:33:04 +0800
commitc2ee0afbc85ce3ddf38ec07497c0cdae4f42a7fc (patch)
treee6430bf480afc3e4a220fdf713413c8df4a9da41 /plugins/external-editor
parent495e9bf8001e2209a35e8991c07ec038576efdd4 (diff)
downloadgsoc2013-evolution-c2ee0afbc85ce3ddf38ec07497c0cdae4f42a7fc.tar.gz
gsoc2013-evolution-c2ee0afbc85ce3ddf38ec07497c0cdae4f42a7fc.tar.zst
gsoc2013-evolution-c2ee0afbc85ce3ddf38ec07497c0cdae4f42a7fc.zip
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
Diffstat (limited to 'plugins/external-editor')
-rw-r--r--plugins/external-editor/external-editor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/external-editor/external-editor.c b/plugins/external-editor/external-editor.c
index adc9678550..e75c47fc1c 100644
--- a/plugins/external-editor/external-editor.c
+++ b/plugins/external-editor/external-editor.c
@@ -29,7 +29,7 @@
#include <mail/em-config.h>
#include <mail/em-composer-utils.h>
#include <mail/mail-config.h>
-#include <e-util/e-error.h>
+#include <e-util/e-alert.h>
#include <e-msg-composer.h>
#include <camel/camel-mime-filter-tohtml.h>
@@ -208,7 +208,7 @@ run_error_dialog (struct run_error_dialog_data *data)
{
g_return_val_if_fail (data != NULL, FALSE);
- e_error_run (GTK_WINDOW (data->composer), data->text, NULL);
+ e_alert_run_dialog_for_args (GTK_WINDOW (data->composer), data->text, NULL);
enable_composer (data->composer);
g_free (data);
@@ -430,7 +430,7 @@ static gboolean
delete_cb (GtkWidget *widget, EMsgComposer *composer)
{
if (editor_running()) {
- e_error_run (NULL, "org.gnome.evolution.plugins.external-editor:editor-still-running", NULL);
+ e_alert_run_dialog_for_args (NULL, "org.gnome.evolution.plugins.external-editor:editor-still-running", NULL);
return TRUE;
}