aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-08 00:19:37 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-08 02:25:23 +0800
commit31204c9cc21ec32c8006124cf18763161daa99d2 (patch)
tree7e2173da211f3e844172ea0dbdfb0e87638d8e85 /modules
parentf20528381a13299e8d160195d4b731e10b7ed437 (diff)
downloadgsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.gz
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.bz2
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.lz
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.xz
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.zst
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.zip
Port all error code to use GObject-ified EAlert / EAlertDialog
The changes are mainly including the e-alert-header.h header instead of just e-alert.h. This allows us to include e-alert.h in non-UI situations when necessary.
Diffstat (limited to 'modules')
-rw-r--r--modules/addressbook/addressbook-config.c2
-rw-r--r--modules/addressbook/e-book-shell-view-actions.c2
-rw-r--r--modules/calendar/e-cal-shell-sidebar.c2
-rw-r--r--modules/calendar/e-cal-shell-view-actions.c2
-rw-r--r--modules/calendar/e-memo-shell-sidebar.c2
-rw-r--r--modules/calendar/e-memo-shell-view-actions.c2
-rw-r--r--modules/calendar/e-task-shell-sidebar.c2
-rw-r--r--modules/calendar/e-task-shell-view-actions.c2
-rw-r--r--modules/mail/e-mail-attachment-handler.c2
-rw-r--r--modules/mail/e-mail-junk-hook.c4
-rw-r--r--modules/mail/e-mail-shell-backend.c2
-rw-r--r--modules/mail/e-mail-shell-migrate.c2
-rw-r--r--modules/mail/em-account-prefs.c2
13 files changed, 14 insertions, 14 deletions
diff --git a/modules/addressbook/addressbook-config.c b/modules/addressbook/addressbook-config.c
index 11b3eca445..9c53f411d5 100644
--- a/modules/addressbook/addressbook-config.c
+++ b/modules/addressbook/addressbook-config.c
@@ -45,7 +45,7 @@
#include "addressbook-config.h"
#include "e-util/e-util.h"
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-util/e-util-private.h"
#include "addressbook/gui/widgets/eab-config.h"
diff --git a/modules/addressbook/e-book-shell-view-actions.c b/modules/addressbook/e-book-shell-view-actions.c
index cf5c615238..92ef88c01a 100644
--- a/modules/addressbook/e-book-shell-view-actions.c
+++ b/modules/addressbook/e-book-shell-view-actions.c
@@ -21,7 +21,7 @@
#include "e-book-shell-view-private.h"
-#include <e-util/e-alert.h>
+#include <e-util/e-alert-dialog.h>
#include <e-util/e-util.h>
#include <filter/e-filter-rule.h>
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index 70ddebf4f9..19c75e3e82 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -24,7 +24,7 @@
#include <string.h>
#include <glib/gi18n.h>
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-util/e-binding.h"
#include "e-util/gconf-bridge.h"
#include "widgets/misc/e-paned.h"
diff --git a/modules/calendar/e-cal-shell-view-actions.c b/modules/calendar/e-cal-shell-view-actions.c
index c1aebdbc33..3b25d0b763 100644
--- a/modules/calendar/e-cal-shell-view-actions.c
+++ b/modules/calendar/e-cal-shell-view-actions.c
@@ -19,7 +19,7 @@
*
*/
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-cal-shell-view-private.h"
/* This is for radio action groups whose value is persistent. We
diff --git a/modules/calendar/e-memo-shell-sidebar.c b/modules/calendar/e-memo-shell-sidebar.c
index 378fe51964..fb8ee9b04a 100644
--- a/modules/calendar/e-memo-shell-sidebar.c
+++ b/modules/calendar/e-memo-shell-sidebar.c
@@ -26,7 +26,7 @@
#include <libecal/e-cal.h>
#include "e-util/e-binding.h"
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-util/e-util.h"
#include "calendar/common/authentication.h"
#include "calendar/gui/calendar-config.h"
diff --git a/modules/calendar/e-memo-shell-view-actions.c b/modules/calendar/e-memo-shell-view-actions.c
index aa95991c96..f5fb6284b4 100644
--- a/modules/calendar/e-memo-shell-view-actions.c
+++ b/modules/calendar/e-memo-shell-view-actions.c
@@ -19,7 +19,7 @@
*
*/
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-memo-shell-view-private.h"
static void
diff --git a/modules/calendar/e-task-shell-sidebar.c b/modules/calendar/e-task-shell-sidebar.c
index 09f8baeb74..532e8f696b 100644
--- a/modules/calendar/e-task-shell-sidebar.c
+++ b/modules/calendar/e-task-shell-sidebar.c
@@ -25,7 +25,7 @@
#include <glib/gi18n.h>
#include <libecal/e-cal.h>
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-util/e-util.h"
#include "calendar/common/authentication.h"
#include "calendar/gui/calendar-config.h"
diff --git a/modules/calendar/e-task-shell-view-actions.c b/modules/calendar/e-task-shell-view-actions.c
index e5d861526d..f1285a714b 100644
--- a/modules/calendar/e-task-shell-view-actions.c
+++ b/modules/calendar/e-task-shell-view-actions.c
@@ -19,7 +19,7 @@
*
*/
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-task-shell-view-private.h"
static void
diff --git a/modules/mail/e-mail-attachment-handler.c b/modules/mail/e-mail-attachment-handler.c
index a1946c6f68..e00ba9df64 100644
--- a/modules/mail/e-mail-attachment-handler.c
+++ b/modules/mail/e-mail-attachment-handler.c
@@ -25,7 +25,7 @@
#include <camel/camel-folder.h>
#include <camel/camel-stream-mem.h>
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "mail/em-composer-utils.h"
#include "mail/mail-tools.h"
diff --git a/modules/mail/e-mail-junk-hook.c b/modules/mail/e-mail-junk-hook.c
index 47637eb1d4..ccdcf0c97e 100644
--- a/modules/mail/e-mail-junk-hook.c
+++ b/modules/mail/e-mail-junk-hook.c
@@ -24,7 +24,7 @@
#include <glib/gi18n.h>
#include <camel/camel-junk-plugin.h>
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "shell/e-shell.h"
#include "mail/em-junk.h"
@@ -52,7 +52,7 @@ mail_junk_hook_idle_cb (struct ErrorData *data)
{
GtkWidget *widget;
- widget = e_alert_new_dialog_for_args (e_shell_get_active_window (NULL),
+ widget = e_alert_dialog_new_for_args (e_shell_get_active_window (NULL),
data->error_message, data->error->message, NULL);
em_utils_show_error_silent (widget);
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c
index 8dd3caf643..d54569cefe 100644
--- a/modules/mail/e-mail-shell-backend.c
+++ b/modules/mail/e-mail-shell-backend.c
@@ -29,7 +29,7 @@
#include "e-util/e-account-utils.h"
#include "e-util/e-binding.h"
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-util/e-import.h"
#include "e-util/e-util.h"
#include "shell/e-shell.h"
diff --git a/modules/mail/e-mail-shell-migrate.c b/modules/mail/e-mail-shell-migrate.c
index 7231cc8061..67f6139d8c 100644
--- a/modules/mail/e-mail-shell-migrate.c
+++ b/modules/mail/e-mail-shell-migrate.c
@@ -58,7 +58,7 @@
#include "e-util/e-account-utils.h"
#include "e-util/e-bconf-map.h"
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-util/e-util-private.h"
#include "e-util/e-plugin.h"
#include "e-util/e-signature-utils.h"
diff --git a/modules/mail/em-account-prefs.c b/modules/mail/em-account-prefs.c
index 81ce907e18..eaacec6c33 100644
--- a/modules/mail/em-account-prefs.c
+++ b/modules/mail/em-account-prefs.c
@@ -34,7 +34,7 @@
#include <glib/gi18n.h>
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-mail-store.h"
#include "em-config.h"