[evolution-exchange] Update again for slightly changed EAlert API in evolution
- From: Jonathon Jongsma <jjongsma src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-exchange] Update again for slightly changed EAlert API in evolution
- Date: Mon, 7 Dec 2009 18:25:56 +0000 (UTC)
commit b42da7a2cb048009eaf00c93d4707c5dbbe6a28f
Author: Jonathon Jongsma <jonathon quotidian org>
Date: Mon Dec 7 11:36:16 2009 -0600
Update again for slightly changed EAlert API in evolution
EAlert became a GObject and the dialog functionality was split into a new class
/ file (e-alert-dialog.h)
eplugin/exchange-account-setup.c | 2 +-
eplugin/exchange-calendar.c | 2 +-
eplugin/exchange-config-listener.c | 4 ++--
eplugin/exchange-contacts.c | 2 +-
eplugin/exchange-delegates.c | 2 +-
eplugin/exchange-folder-subscription.c | 2 +-
eplugin/exchange-folder.c | 2 +-
eplugin/exchange-operations.c | 12 ++++++------
eplugin/exchange-permissions-dialog.c | 2 +-
eplugin/exchange-send-options.c | 2 +-
10 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/eplugin/exchange-account-setup.c b/eplugin/exchange-account-setup.c
index 7b8e874..8363702 100644
--- a/eplugin/exchange-account-setup.c
+++ b/eplugin/exchange-account-setup.c
@@ -25,7 +25,7 @@
#endif
#include "libedataserver/e-account.h"
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include <string.h>
#include <unistd.h>
diff --git a/eplugin/exchange-calendar.c b/eplugin/exchange-calendar.c
index dafe072..8c09417 100644
--- a/eplugin/exchange-calendar.c
+++ b/eplugin/exchange-calendar.c
@@ -34,7 +34,7 @@
#include "mail/em-account-editor.h"
#include "mail/em-config.h"
#include "libedataserver/e-account.h"
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "exchange-operations.h"
#include "exchange-folder-size-display.h"
diff --git a/eplugin/exchange-config-listener.c b/eplugin/exchange-config-listener.c
index c19f92e..ceb49b5 100644
--- a/eplugin/exchange-config-listener.c
+++ b/eplugin/exchange-config-listener.c
@@ -38,7 +38,7 @@
#include <e2k-uri.h>
#include <camel/camel-url.h>
-#include <e-util/e-alert.h>
+#include <e-util/e-alert-dialog.h>
#include <shell/e-shell.h>
#include <libedataserver/e-source.h>
@@ -901,7 +901,7 @@ exchange_config_listener_authenticate (ExchangeConfigListener *ex_conf_listener,
}
if (current_quota_usage) {
- widget = e_alert_new_dialog_for_args (e_shell_get_active_window (NULL), error_code, current_quota_usage, NULL);
+ widget = e_alert_dialog_new_for_args (e_shell_get_active_window (NULL), error_code, current_quota_usage, NULL);
g_signal_connect ((GtkDialog *)widget, "response",
G_CALLBACK (gtk_widget_destroy), widget);
gtk_widget_show (widget);
diff --git a/eplugin/exchange-contacts.c b/eplugin/exchange-contacts.c
index 9deb1b8..e1a36d9 100644
--- a/eplugin/exchange-contacts.c
+++ b/eplugin/exchange-contacts.c
@@ -37,7 +37,7 @@
#include "mail/em-account-editor.h"
#include "mail/em-config.h"
#include "libedataserver/e-account.h"
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "exchange-operations.h"
#include "exchange-folder-size-display.h"
diff --git a/eplugin/exchange-delegates.c b/eplugin/exchange-delegates.c
index 7cbd379..d5e0005 100644
--- a/eplugin/exchange-delegates.c
+++ b/eplugin/exchange-delegates.c
@@ -43,7 +43,7 @@
#include <e2k-utils.h>
#include <e-util/e-dialog-utils.h>
-#include <e-util/e-alert.h>
+#include <e-util/e-alert-dialog.h>
typedef struct {
const gchar *uri;
diff --git a/eplugin/exchange-folder-subscription.c b/eplugin/exchange-folder-subscription.c
index 68fc519..01f7332 100644
--- a/eplugin/exchange-folder-subscription.c
+++ b/eplugin/exchange-folder-subscription.c
@@ -26,7 +26,7 @@
#endif
#include <gtk/gtk.h>
-#include <e-util/e-alert.h>
+#include <e-util/e-alert-dialog.h>
#include <e-folder.h>
#include <exchange-account.h>
#include <exchange-hierarchy.h>
diff --git a/eplugin/exchange-folder.c b/eplugin/exchange-folder.c
index e6a54ca..19f6d0c 100644
--- a/eplugin/exchange-folder.c
+++ b/eplugin/exchange-folder.c
@@ -30,7 +30,7 @@
#include <e-folder-exchange.h>
#include <exchange-hierarchy.h>
#include <libedataserverui/e-source-selector.h>
-#include <e-util/e-alert.h>
+#include <e-util/e-alert-dialog.h>
#include <camel/camel-store.h>
#include <camel/camel-folder.h>
#include <mail/mail-mt.h>
diff --git a/eplugin/exchange-operations.c b/eplugin/exchange-operations.c
index dc56c56..9d320e0 100644
--- a/eplugin/exchange-operations.c
+++ b/eplugin/exchange-operations.c
@@ -26,7 +26,7 @@
#include "exchange-operations.h"
#include <e-folder-exchange.h>
#include <exchange-hierarchy.h>
-#include <e-util/e-alert.h>
+#include <e-util/e-alert-dialog.h>
#include <shell/e-shell.h>
ExchangeConfigListener *exchange_global_config_listener=NULL;
@@ -240,26 +240,26 @@ exchange_operations_report_error (ExchangeAccount *account, ExchangeAccountResul
switch (result) {
case EXCHANGE_ACCOUNT_MAILBOX_NA:
- widget = e_alert_new_dialog_for_args (e_shell_get_active_window (NULL), error_string, exchange_account_get_username (account), NULL);
+ widget = e_alert_dialog_new_for_args (e_shell_get_active_window (NULL), error_string, exchange_account_get_username (account), NULL);
break;
case EXCHANGE_ACCOUNT_NO_MAILBOX:
- widget = e_alert_new_dialog_for_args (e_shell_get_active_window (NULL), error_string, exchange_account_get_username (account),
+ widget = e_alert_dialog_new_for_args (e_shell_get_active_window (NULL), error_string, exchange_account_get_username (account),
account->exchange_server, NULL);
break;
case EXCHANGE_ACCOUNT_RESOLVE_ERROR:
case EXCHANGE_ACCOUNT_CONNECT_ERROR:
case EXCHANGE_ACCOUNT_UNKNOWN_ERROR:
- widget = e_alert_new_dialog_for_args (e_shell_get_active_window (NULL), error_string, account->exchange_server, NULL);
+ widget = e_alert_dialog_new_for_args (e_shell_get_active_window (NULL), error_string, account->exchange_server, NULL);
break;
case EXCHANGE_ACCOUNT_QUOTA_RECIEVE_ERROR:
case EXCHANGE_ACCOUNT_QUOTA_SEND_ERROR:
case EXCHANGE_ACCOUNT_QUOTA_WARN:
quota_value = g_strdup_printf ("%.2f", account->mbox_size);
- widget = e_alert_new_dialog_for_args (e_shell_get_active_window (NULL), error_string, quota_value, NULL);
+ widget = e_alert_dialog_new_for_args (e_shell_get_active_window (NULL), error_string, quota_value, NULL);
g_free (quota_value);
break;
default:
- widget = e_alert_new_dialog_for_args (e_shell_get_active_window (NULL), error_string, NULL);
+ widget = e_alert_dialog_new_for_args (e_shell_get_active_window (NULL), error_string, NULL);
}
g_signal_connect ((GtkDialog *)widget, "response", G_CALLBACK (gtk_widget_destroy), widget);
gtk_widget_show (widget);
diff --git a/eplugin/exchange-permissions-dialog.c b/eplugin/exchange-permissions-dialog.c
index 7533abe..5e906c2 100644
--- a/eplugin/exchange-permissions-dialog.c
+++ b/eplugin/exchange-permissions-dialog.c
@@ -40,7 +40,7 @@
#include "exchange-operations.h"
#include <e-util/e-dialog-utils.h>
-#include <e-util/e-alert.h>
+#include <e-util/e-alert-dialog.h>
struct _ExchangePermissionsDialogPrivate {
ExchangeAccount *account;
diff --git a/eplugin/exchange-send-options.c b/eplugin/exchange-send-options.c
index 1e1bd0c..c7c96dc 100644
--- a/eplugin/exchange-send-options.c
+++ b/eplugin/exchange-send-options.c
@@ -29,7 +29,7 @@
#include <libedataserverui/e-contact-store.h>
#include "exchange-operations.h"
#include <e-util/e-util.h>
-#include <e-util/e-alert.h>
+#include <e-util/e-alert-dialog.h>
#include "exchange-send-options.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]