aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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 /addressbook
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 'addressbook')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c2
-rw-r--r--addressbook/gui/contact-editor/e-contact-quick-add.c2
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c2
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-model.c2
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c2
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c4
-rw-r--r--addressbook/util/addressbook.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 501af7d97e..f31b25de95 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-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "misc/e-dateedit.h"
#include "misc/e-image-chooser.h"
#include "misc/e-url-entry.h"
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c
index bc750d15ef..6525738fed 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-alert.h"
+#include "e-util/e-alert-dialog.h"
typedef struct _QuickAdd QuickAdd;
struct _QuickAdd {
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index 7eb07007da..4c5b2ba8f8 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -24,7 +24,7 @@
#include "e-contact-list-editor.h"
#include <e-util/e-util-private.h>
-#include <e-util/e-alert.h>
+#include <e-util/e-alert-dialog.h>
#include "shell/e-shell.h"
#include <string.h>
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-model.c b/addressbook/gui/contact-list-editor/e-contact-list-model.c
index 5359d8d607..723ce1d093 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-model.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-model.c
@@ -23,7 +23,7 @@
#include <string.h>
#include "e-contact-list-model.h"
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "shell/e-shell.h"
static gpointer parent_class;
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index cb64e36272..a7956a9f8f 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -52,7 +52,7 @@
#include "e-addressbook-table-adapter.h"
#include "eab-contact-merging.h"
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-util/e-util-private.h"
#include <gdk/gdkkeysyms.h>
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index efc97e682e..0faa1a14cf 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -35,7 +35,7 @@
#include "eab-gui-util.h"
#include "util/eab-book-util.h"
#include <libebook/e-destination.h>
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-util/e-html-utils.h"
#include "shell/e-shell.h"
#include "misc/e-image-chooser.h"
@@ -147,7 +147,7 @@ eab_load_error_dialog (GtkWidget *parent, ESource *source, EBookStatus status)
}
}
- dialog = e_alert_new_dialog_for_args ((GtkWindow *) parent, "addressbook:load-error", label_string, NULL);
+ dialog = e_alert_dialog_new_for_args ((GtkWindow *) parent, "addressbook:load-error", label_string, NULL);
g_signal_connect (dialog, "response", G_CALLBACK (gtk_widget_destroy), NULL);
gtk_widget_show (dialog);
diff --git a/addressbook/util/addressbook.c b/addressbook/util/addressbook.c
index 7fe470a4f3..d49f19bd7a 100644
--- a/addressbook/util/addressbook.c
+++ b/addressbook/util/addressbook.c
@@ -30,7 +30,7 @@
#include <libedataserver/e-url.h>
#include <libedataserverui/e-passwords.h>
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "shell/e-shell.h"
#include "addressbook.h"