diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-01 01:34:43 +0800 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-01 03:33:04 +0800 |
commit | c2ee0afbc85ce3ddf38ec07497c0cdae4f42a7fc (patch) | |
tree | e6430bf480afc3e4a220fdf713413c8df4a9da41 /calendar/gui/dialogs/save-comp.c | |
parent | 495e9bf8001e2209a35e8991c07ec038576efdd4 (diff) | |
download | gsoc2013-evolution-c2ee0afbc85ce3ddf38ec07497c0cdae4f42a7fc.tar gsoc2013-evolution-c2ee0afbc85ce3ddf38ec07497c0cdae4f42a7fc.tar.gz gsoc2013-evolution-c2ee0afbc85ce3ddf38ec07497c0cdae4f42a7fc.tar.bz2 gsoc2013-evolution-c2ee0afbc85ce3ddf38ec07497c0cdae4f42a7fc.tar.lz gsoc2013-evolution-c2ee0afbc85ce3ddf38ec07497c0cdae4f42a7fc.tar.xz 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 'calendar/gui/dialogs/save-comp.c')
-rw-r--r-- | calendar/gui/dialogs/save-comp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/dialogs/save-comp.c b/calendar/gui/dialogs/save-comp.c index 91f55a0ca7..dc698b4596 100644 --- a/calendar/gui/dialogs/save-comp.c +++ b/calendar/gui/dialogs/save-comp.c @@ -25,7 +25,7 @@ #include <config.h> #endif -#include "e-util/e-error.h" +#include "e-util/e-alert.h" #include "save-comp.h" #include "comp-editor.h" @@ -50,13 +50,13 @@ save_component_dialog (GtkWindow *parent, ECalComponent *comp) case E_CAL_COMPONENT_EVENT: flags = comp_editor_get_flags (COMP_EDITOR(parent)); if (flags & COMP_EDITOR_MEETING) - return e_error_run_dialog_for_args (parent, "calendar:prompt-save-meeting", NULL); + return e_alert_run_dialog_for_args (parent, "calendar:prompt-save-meeting", NULL); else - return e_error_run_dialog_for_args (parent, "calendar:prompt-save-appointment", NULL); + return e_alert_run_dialog_for_args (parent, "calendar:prompt-save-appointment", NULL); case E_CAL_COMPONENT_TODO: - return e_error_run_dialog_for_args (parent, "calendar:prompt-save-task", NULL); + return e_alert_run_dialog_for_args (parent, "calendar:prompt-save-task", NULL); case E_CAL_COMPONENT_JOURNAL: - return e_error_run_dialog_for_args (parent, "calendar:prompt-save-memo", NULL); + return e_alert_run_dialog_for_args (parent, "calendar:prompt-save-memo", NULL); default: return GTK_RESPONSE_NO; } |