[evolution-exchange] Remove trailing whitespace.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution-exchange] Remove trailing whitespace.
- Date: Wed, 27 May 2009 08:19:00 -0400 (EDT)
commit 72499cbedf01d031c389d7f54125225b709e21c6
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed May 27 08:18:41 2009 -0400
Remove trailing whitespace.
---
addressbook/e-book-backend-exchange.c | 2 +-
addressbook/e-book-backend-gal.c | 14 +++---
calendar/e-cal-backend-exchange-tasks.c | 4 +-
calendar/e-cal-backend-exchange.c | 12 +++---
calendar/e-cal-backend-exchange.h | 2 +-
camel/camel-exchange-folder.c | 4 +-
camel/camel-exchange-provider.c | 2 +-
camel/camel-exchange-store.c | 14 +++---
camel/camel-exchange-summary.c | 14 +++---
mail/mail-stub-exchange.c | 64 +++++++++++++++---------------
mail/mail-stub-listener.c | 2 +-
mail/mail-utils.c | 14 +++---
mail/mail-utils.h | 6 +-
storage/exchange-component.c | 2 +-
storage/main.c | 2 +-
storage/ximian-connector-setup.c | 2 +-
16 files changed, 80 insertions(+), 80 deletions(-)
diff --git a/addressbook/e-book-backend-exchange.c b/addressbook/e-book-backend-exchange.c
index 1ff6d9a..a00b626 100644
--- a/addressbook/e-book-backend-exchange.c
+++ b/addressbook/e-book-backend-exchange.c
@@ -1263,7 +1263,7 @@ props_from_contact (EBookBackendExchange *be,
if (is_list) {
e2k_properties_set_string (
- props, E2K_PR_CONTACTS_FILE_AS,
+ props, E2K_PR_CONTACTS_FILE_AS,
g_strdup (subject ? subject : ""));
return props;
diff --git a/addressbook/e-book-backend-gal.c b/addressbook/e-book-backend-gal.c
index 939b16f..5ae2caa 100644
--- a/addressbook/e-book-backend-gal.c
+++ b/addressbook/e-book-backend-gal.c
@@ -1219,9 +1219,9 @@ build_query (EBookBackendGAL *bl, const char *query, const char *ldap_filter, ch
else {
char *addfilter = NULL;
- if (ldap_filter)
+ if (ldap_filter)
addfilter = g_strdup_printf ("(%s)", ldap_filter);
-
+
*ldap_query = g_strdup_printf ("(&(mail=*)(!(msExchHideFromAddressLists=TRUE))%s%s)", addfilter ? addfilter : "", r->value.string);
retval = GNOME_Evolution_Addressbook_Success;
}
@@ -1321,7 +1321,7 @@ get_time_stamp (char *serv_time_str, time_t *mtime)
second = G_STRNDUP(input_str, 2)
input_str ++; // parse over the dot
zone = G_STRNDUP(input_str, 1)
-
+
mytime.tm_year = atoi(year)-1900;
mytime.tm_mon = atoi(month)-1;
mytime.tm_mday = atoi(date);
@@ -1793,7 +1793,7 @@ start_book_view (EBookBackend *backend,
GPtrArray *ids = NULL;
d(printf("Marked for offline and cache present\n"));
- status = build_query (bl, e_data_book_view_get_card_query (view), NULL,
+ status = build_query (bl, e_data_book_view_get_card_query (view), NULL,
&ldap_query);
/* search for anything */
@@ -1865,7 +1865,7 @@ start_book_view (EBookBackend *backend,
d(printf ("start_book_view (%p)\n", view));
- status = build_query (bl, e_data_book_view_get_card_query (view), NULL,
+ status = build_query (bl, e_data_book_view_get_card_query (view), NULL,
&ldap_query);
/* search for anything */
@@ -2157,7 +2157,7 @@ static int dosearch(
count ++;
g_mutex_unlock (bl->priv->ldap_lock);
contact = build_contact_from_entry (bl, msg, NULL);
- uid = e_contact_get_const (contact, E_CONTACT_UID);
+ uid = e_contact_get_const (contact, E_CONTACT_UID);
g_mutex_lock (bl->priv->ldap_lock);
if (changed_filter && e_book_backend_summary_check_contact (bl->priv->summary, uid)) {
@@ -2169,7 +2169,7 @@ static int dosearch(
status = e_book_backend_db_cache_remove_contact (bl->priv->file_db, uid);
if (status)
printf("Updating contact with uid %s from the server\n", uid);
- } else
+ } else
printf("New contact with uid %s, add to the DB\n", uid);
e_book_backend_db_cache_add_contact (bl->priv->file_db, contact);
e_book_backend_summary_add_contact (bl->priv->summary, contact);
diff --git a/calendar/e-cal-backend-exchange-tasks.c b/calendar/e-cal-backend-exchange-tasks.c
index 6a66f4d..13af899 100644
--- a/calendar/e-cal-backend-exchange-tasks.c
+++ b/calendar/e-cal-backend-exchange-tasks.c
@@ -75,7 +75,7 @@ get_from (ECalBackendSync *backend, ECalComponent *comp, char **from_name, char
{
if (!g_ascii_strcasecmp(e_cal_backend_exchange_get_owner_email (backend), exchange_account_get_email_id (E_CAL_BACKEND_EXCHANGE (backend)->account)))
e_cal_backend_exchange_get_from (backend, comp, from_name, from_addr);
- else
+ else
e_cal_backend_exchange_get_sender (backend, comp, from_name, from_addr);
#if 0
@@ -667,7 +667,7 @@ get_changed_tasks (ECalBackendExchange *cbex)
priority = 5;
else
priority = 0;
- } else
+ } else
priority = 5;
e_cal_component_set_priority (ecal, &priority);
diff --git a/calendar/e-cal-backend-exchange.c b/calendar/e-cal-backend-exchange.c
index 428e536..a601b96 100644
--- a/calendar/e-cal-backend-exchange.c
+++ b/calendar/e-cal-backend-exchange.c
@@ -425,7 +425,7 @@ open_calendar (ECalBackendSync *backend, EDataCal *cal, gboolean only_if_exists,
g_mutex_unlock (cbex->priv->open_lock);
e_cal_backend_notify_error (E_CAL_BACKEND (cbex), _("Authentication failed"));
return GNOME_Evolution_Calendar_AuthenticationFailed;
- }
+ }
cbex->folder = exchange_account_get_folder (cbex->account, uristr);
if (!cbex->folder) {
@@ -576,7 +576,7 @@ find_instance (ECalBackendExchange *cbex, ECalBackendExchangeComponent *ecomp, c
GList *l;
gboolean found = FALSE;
- if (!ecomp->instances)
+ if (!ecomp->instances)
return FALSE;
for (l = ecomp->instances; l != NULL; l = l->next) {
@@ -598,7 +598,7 @@ find_instance (ECalBackendExchange *cbex, ECalBackendExchangeComponent *ecomp, c
e_cal_component_free_datetime (&recur_id.datetime);
g_object_unref (comp);
-
+
if (icaltime_compare (inst_rid, new_rid) == 0) {
found = TRUE;
break;
@@ -647,7 +647,7 @@ e_cal_backend_exchange_in_cache (ECalBackendExchange *cbex,
return FALSE;
g_hash_table_remove (cbex->priv->cache_unseen, ecomp->uid);
- if (rid)
+ if (rid)
return find_instance (cbex, ecomp, rid, lastmod);
if (strcmp (ecomp->lastmod, lastmod) < 0) {
@@ -1841,7 +1841,7 @@ process_delegated_cal_object (icalcomponent *icalcomp, const char *delegator_nam
icalproperty_add_parameter (prop, icalparameter_new_sentby (g_strdup_printf("MAILTO:%s", delegatee_email)));
}
}
- if (text)
+ if (text)
g_free (text);
}
prop = NULL;
@@ -1919,7 +1919,7 @@ build_msg ( ECalBackendExchange *cbex, ECalComponent *comp, const char *subject,
if (!g_ascii_strcasecmp(e_cal_backend_exchange_get_owner_email (E_CAL_BACKEND_SYNC (cbex)), exchange_account_get_email_id (cbex->account)))
e_cal_backend_exchange_get_from (E_CAL_BACKEND_SYNC (cbex), comp, &from_name, &from_email);
- else
+ else
e_cal_backend_exchange_get_sender (E_CAL_BACKEND_SYNC (cbex), comp, &from_name, &from_email);
msg = camel_mime_message_new ();
diff --git a/calendar/e-cal-backend-exchange.h b/calendar/e-cal-backend-exchange.h
index 38b09c2..50988db 100644
--- a/calendar/e-cal-backend-exchange.h
+++ b/calendar/e-cal-backend-exchange.h
@@ -105,7 +105,7 @@ void e_cal_backend_exchange_get_sender (ECalBackendSync *backend, ECalComponent
char * e_cal_backend_exchange_get_sender_string (ECalBackendSync *backend, ECalComponent *comp);
gboolean e_cal_backend_exchange_is_online (ECalBackendExchange *cbex);
GSList * get_attachment (ECalBackendExchange *cbex, const char *uid, const char *body, int len);
-void process_delegated_cal_object (icalcomponent *icalcomp, const char *delegator_name,
+void process_delegated_cal_object (icalcomponent *icalcomp, const char *delegator_name,
const char *delegator_email, const char *delegatee_email);
char * build_msg ( ECalBackendExchange *cbex, ECalComponent *comp, const char *subject, char **boundary);
gchar *e_cal_backend_exchange_get_owner_email (ECalBackendSync *backend);
diff --git a/camel/camel-exchange-folder.c b/camel/camel-exchange-folder.c
index 1e0d0aa..72acdf3 100644
--- a/camel/camel-exchange-folder.c
+++ b/camel/camel-exchange-folder.c
@@ -178,7 +178,7 @@ refresh_info (CamelFolder *folder, CamelException *ex)
CAMEL_STUB_ARG_FOLDER, folder->full_name,
CAMEL_STUB_ARG_END);
}
-
+
/* sync up the counts now */
if (!camel_stub_send (exch->stub, ex, CAMEL_STUB_CMD_SYNC_COUNT,
CAMEL_STUB_ARG_FOLDER, folder->full_name,
@@ -1119,7 +1119,7 @@ camel_exchange_folder_construct (CamelFolder *folder, CamelStore *parent,
if (offline_state == CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL )
return TRUE;
-
+
if (len)
return TRUE;
diff --git a/camel/camel-exchange-provider.c b/camel/camel-exchange-provider.c
index 2853750..b6997f1 100644
--- a/camel/camel-exchange-provider.c
+++ b/camel/camel-exchange-provider.c
@@ -55,7 +55,7 @@ static const char *auth_types[] = {
N_("Secure or Plaintext Password"),
N_("Plaintext Password"),
N_("Secure Password"),
- NULL
+ NULL
};
CamelProviderConfEntry exchange_conf_entries[] = {
diff --git a/camel/camel-exchange-store.c b/camel/camel-exchange-store.c
index 8f079b8..38e0419 100644
--- a/camel/camel-exchange-store.c
+++ b/camel/camel-exchange-store.c
@@ -128,7 +128,7 @@ init (CamelExchangeStore *exch, CamelExchangeStoreClass *klass)
store->flags |= CAMEL_STORE_SUBSCRIPTIONS;
store->flags &= ~(CAMEL_STORE_VTRASH | CAMEL_STORE_VJUNK);
- /* FIXME: Like the GroupWise provider, Exchange should also
+ /* FIXME: Like the GroupWise provider, Exchange should also
have its own EXCAHNGE_JUNK flags so as to rightly handle
the actual Junk & Trash folders */
@@ -450,7 +450,7 @@ exchange_connect (CamelService *service, CamelException *ex)
}
g_hash_table_foreach (exch->folders, update_camel_stub, exch->stub);
-
+
g_mutex_unlock (exch->connect_lock);
return TRUE;
@@ -461,11 +461,11 @@ exchange_disconnect (CamelService *service, gboolean clean, CamelException *ex)
{
CamelExchangeStore *exch = CAMEL_EXCHANGE_STORE (service);
-
+
if (exch->stub) {
exch->stub = NULL;
}
-
+
return TRUE;
}
@@ -667,7 +667,7 @@ make_folder_info (CamelExchangeStore *exch, char *name, char *uri,
if (flags & CAMEL_STUB_FOLDER_TYPE_INBOX)
info->flags |= CAMEL_FOLDER_TYPE_INBOX;
-
+
if (flags & CAMEL_STUB_FOLDER_TYPE_TRASH)
info->flags |= CAMEL_FOLDER_TYPE_TRASH;
@@ -886,7 +886,7 @@ exchange_rename_folder (CamelStore *store, const char *old_name,
g_array_free (folder_flags, TRUE);
info = camel_folder_info_build (folders, new_name, '/', TRUE);
-
+
if (info)
info = postprocess_tree (info);
g_ptr_array_free (folders, TRUE);
@@ -901,7 +901,7 @@ exchange_rename_folder (CamelStore *store, const char *old_name,
camel_object_unref (CAMEL_OBJECT (folder));
}
g_mutex_unlock (exch->folders_lock);
-
+
camel_object_trigger_event (CAMEL_OBJECT (exch),
"folder_renamed", &reninfo);
camel_folder_info_free (reninfo.new);
diff --git a/camel/camel-exchange-summary.c b/camel/camel-exchange-summary.c
index 5df7a56..4f7e2ea 100644
--- a/camel/camel-exchange-summary.c
+++ b/camel/camel-exchange-summary.c
@@ -85,12 +85,12 @@ exchange_summary_class_init (CamelObjectClass *klass)
camel_folder_summary_class->message_info_save = message_info_save;
camel_folder_summary_class->message_info_new_from_header = message_info_new_from_header;
camel_folder_summary_class->message_info_free = message_info_free;
-
+
camel_folder_summary_class->summary_header_to_db = summary_header_to_db;
camel_folder_summary_class->summary_header_from_db = summary_header_from_db;
camel_folder_summary_class->message_info_to_db = message_info_to_db;
camel_folder_summary_class->message_info_from_db = message_info_from_db;
-
+
camel_folder_summary_class->info_set_flags = info_set_flags;
camel_folder_summary_class->info_set_user_tag = info_set_user_tag;
}
@@ -166,7 +166,7 @@ summary_header_from_db (CamelFolderSummary *s, CamelFIRecord *mir)
if (part) {
EXTRACT_FIRST_DIGIT (exchange->version)
}
-
+
if (part) {
EXTRACT_DIGIT (exchange->readonly)
}
@@ -174,7 +174,7 @@ summary_header_from_db (CamelFolderSummary *s, CamelFIRecord *mir)
if (part) {
EXTRACT_DIGIT (exchange->high_article_num)
}
-
+
return 0;
}
@@ -219,7 +219,7 @@ summary_header_to_db (CamelFolderSummary *s, CamelException *ex)
{
CamelExchangeSummary *exchange = (CamelExchangeSummary *) s;
struct _CamelFIRecord *fir;
-
+
fir = CAMEL_FOLDER_SUMMARY_CLASS(parent_class)->summary_header_to_db (s, ex);
if (!fir)
return NULL;
@@ -261,7 +261,7 @@ message_info_from_db (CamelFolderSummary *s, CamelMIRecord *mir)
int len;
einfo = (CamelExchangeMessageInfo *)info;
EXTRACT_FIRST_STRING (einfo->thread_index)
- EXTRACT_FIRST_STRING (einfo->href)
+ EXTRACT_FIRST_STRING (einfo->href)
}
return info;
@@ -311,7 +311,7 @@ message_info_to_db (CamelFolderSummary *s, CamelMessageInfo *info)
struct _CamelMIRecord *mir;
mir = CAMEL_FOLDER_SUMMARY_CLASS(parent_class)->message_info_to_db (s, info);
- if (mir)
+ if (mir)
mir->bdata = g_strdup_printf ("%d-%s %d-%s", einfo->thread_index ? (int)strlen(einfo->thread_index):0 , einfo->thread_index ? einfo->thread_index : "", einfo->href ? (int)strlen(einfo->href):0, einfo->href ? einfo->href:"");
return mir;
diff --git a/mail/mail-stub-exchange.c b/mail/mail-stub-exchange.c
index 060e470..70a01e5 100644
--- a/mail/mail-stub-exchange.c
+++ b/mail/mail-stub-exchange.c
@@ -584,9 +584,9 @@ mse_get_folder_online_sync_updates (gpointer key, gpointer value,
g_static_rec_mutex_lock (&g_changed_msgs_mutex);
- /* Camel DB Summary changes are not fetching all the messages at start-up.
+ /* Camel DB Summary changes are not fetching all the messages at start-up.
Use this else it would crash badly.
- */
+ */
if (index >= mfld->messages->len) {
g_static_rec_mutex_unlock (&g_changed_msgs_mutex);
return;
@@ -1534,17 +1534,17 @@ sync_count (MailStub *stub, const char *folder_name)
MailStubExchange *mse = MAIL_STUB_EXCHANGE (stub);
MailStubExchangeFolder *mfld;
guint32 unread_count = 0, visible_count = 0;
-
+
mfld = folder_from_name (mse, folder_name, 0, FALSE);
if (!mfld) {
mail_stub_return_data (stub, CAMEL_STUB_RETVAL_RESPONSE,
CAMEL_STUB_ARG_UINT32, unread_count,
CAMEL_STUB_ARG_UINT32, visible_count,
CAMEL_STUB_ARG_END);
- mail_stub_return_ok (stub);
+ mail_stub_return_ok (stub);
return;
}
-
+
unread_count = mfld->unread_count;
visible_count = mfld->messages->len;
@@ -2257,9 +2257,9 @@ unmangle_delegated_meeting_request (MailStubExchange *mse, E2kOperation *op,
}
message = g_string_new_len (*body, *len);
- mail_util_demangle_meeting_related_message (message, entry->display_name,
+ mail_util_demangle_meeting_related_message (message, entry->display_name,
entry->email,
- delegator_folder_physical_uri,
+ delegator_folder_physical_uri,
exchange_account_get_email_id (account),
unmangle_type);
g_free (*body);
@@ -2275,7 +2275,7 @@ unmangle_delegated_meeting_request (MailStubExchange *mse, E2kOperation *op,
}
static E2kHTTPStatus
-unmangle_meeting_request_in_subscribed_inbox (MailStubExchange *mse,
+unmangle_meeting_request_in_subscribed_inbox (MailStubExchange *mse,
const char *delegator_email,
char **body, int *len)
{
@@ -2315,10 +2315,10 @@ unmangle_meeting_request_in_subscribed_inbox (MailStubExchange *mse,
g_free (delegator_uri);
}
- message = g_string_new_len (*body, *len);
+ message = g_string_new_len (*body, *len);
mail_util_demangle_meeting_related_message (message, entry->display_name,
entry->email,
- delegator_folder_physical_uri,
+ delegator_folder_physical_uri,
exchange_account_get_email_id (account),
unmangle_type);
g_free (*body);
@@ -2406,9 +2406,9 @@ unmangle_sender_field (MailStubExchange *mse, E2kOperation *op,
message = g_string_new_len (*body, *len);
mail_util_demangle_meeting_related_message (message, delegator_entry->display_name,
- delegator_entry->email,
- NULL,
- sender_entry->email,
+ delegator_entry->email,
+ NULL,
+ sender_entry->email,
unmangle_type);
g_free (*body);
*body = message->str;
@@ -2439,7 +2439,7 @@ is_foreign_folder (MailStub *stub, const char *folder_name, char **owner_email)
g_free (path);
g_object_ref (folder);
- hier = e_folder_exchange_get_hierarchy (folder);
+ hier = e_folder_exchange_get_hierarchy (folder);
if (hier->type != EXCHANGE_HIERARCHY_FOREIGN) {
g_object_unref (folder);
@@ -2518,19 +2518,19 @@ get_message (MailStub *stub, const char *folder_name, const char *uid)
goto error;
}
- /* If the message is in a subscribed inbox,
+ /* If the message is in a subscribed inbox,
* we need to modify the message appropriately.
*/
if (is_foreign_folder (stub, folder_name, &owner_email)) {
-
- status = unmangle_meeting_request_in_subscribed_inbox (mse,
+
+ status = unmangle_meeting_request_in_subscribed_inbox (mse,
owner_email,
&body, &len);
if (!E2K_HTTP_STATUS_IS_SUCCESSFUL (status))
goto error;
}
- /* If there is a sender field in the meeting request/response,
+ /* If there is a sender field in the meeting request/response,
* we need to know who it is.
*/
status = unmangle_sender_field (mse, NULL,
@@ -2767,7 +2767,7 @@ account_removed_folder (ExchangeAccount *account, EFolder *folder, gpointer user
mail_stub_push_changes (stub);
}
-static void
+static void
get_folder_info_data (MailStub *stub, const char *top, guint32 store_flags,
GPtrArray **names, GPtrArray **uris,
GArray **unread, GArray **flags)
@@ -2929,7 +2929,7 @@ get_folder_info (MailStub *stub, const char *top, guint32 store_flags)
GPtrArray *names, *uris;
GArray *unread, *flags;
- get_folder_info_data (stub, top, store_flags, &names, &uris,
+ get_folder_info_data (stub, top, store_flags, &names, &uris,
&unread, &flags);
mail_stub_return_data (stub, CAMEL_STUB_RETVAL_RESPONSE,
@@ -3155,13 +3155,13 @@ rename_folder (MailStub *stub, const char *old_name, const char *new_name)
&names, &uris, &unread, &flags);
g_hash_table_remove_all (mfld->messages_by_href);
-
+
for (i = 0; i < mfld->messages->len; i++) {
MailStubExchangeMessage *mmsg;
mmsg = mfld->messages->pdata[i];
g_free (mmsg->href);
mmsg->href = NULL;
- }
+ }
exchange_component_is_offline (global_exchange_component, &mode);
if (mode == ONLINE_MODE) {
@@ -3169,10 +3169,10 @@ rename_folder (MailStub *stub, const char *old_name, const char *new_name)
return;
}
}
-
+
for (i = 0; i < uris->len; i++) {
uri = uris->pdata[i];
- if (uri == NULL)
+ if (uri == NULL)
continue;
uri_unescaped = g_uri_unescape_string (uri, NULL);
@@ -3188,13 +3188,13 @@ rename_folder (MailStub *stub, const char *old_name, const char *new_name)
if (!folder_name[1]) {
goto cont_free;
}
- }
+ }
old_name_remove = g_build_filename (old_name, "/", folder_name[1], NULL);
mfld = g_hash_table_lookup (mse->folders_by_name, old_name_remove);
-
- /* If the lookup for the MailStubExchangeFolder doesn't succeed then do
+
+ /* If the lookup for the MailStubExchangeFolder doesn't succeed then do
not modify the corresponding entry in the hash table*/
if (!mfld) {
g_free (old_name_remove);
@@ -3216,15 +3216,15 @@ rename_folder (MailStub *stub, const char *old_name, const char *new_name)
g_hash_table_steal (mse->folders_by_name, old_name_remove);
g_hash_table_insert (mse->folders_by_name, (char *)mfld->name, mfld);
-
+
g_hash_table_remove_all (mfld->messages_by_href);
-
+
for (j = 0; j < mfld->messages->len; j++) {
MailStubExchangeMessage *mmsg;
mmsg = mfld->messages->pdata[j];
g_free (mmsg->href);
mmsg->href = NULL;
- }
+ }
exchange_component_is_offline (global_exchange_component, &mode);
if (mode == ONLINE_MODE) {
@@ -3232,14 +3232,14 @@ rename_folder (MailStub *stub, const char *old_name, const char *new_name)
return;
}
}
-
+
g_free (old_path);
g_free (new_path);
cont_free: g_free (new_name_mod);
g_free (uri_unescaped);
g_strfreev (folder_name);
}
-
+
mail_stub_return_data (stub, CAMEL_STUB_RETVAL_RESPONSE,
CAMEL_STUB_ARG_STRINGARRAY, names,
CAMEL_STUB_ARG_STRINGARRAY, uris,
diff --git a/mail/mail-stub-listener.c b/mail/mail-stub-listener.c
index 7cdff01..daa7317 100644
--- a/mail/mail-stub-listener.c
+++ b/mail/mail-stub-listener.c
@@ -162,7 +162,7 @@ mail_stub_listener_construct (MailStubListener *listener, const char *socket_pat
g_win32_error_message (WSAGetLastError ()));
closesocket (fd);
return FALSE;
- }
+ }
addr_len = sizeof (sa_in);
if (getsockname (fd, (struct sockaddr *) &sa_in, &addr_len) == SOCKET_ERROR) {
diff --git a/mail/mail-utils.c b/mail/mail-utils.c
index 98266e9..d9be543 100644
--- a/mail/mail-utils.c
+++ b/mail/mail-utils.c
@@ -303,8 +303,8 @@ mail_util_stickynote_to_rfc822 (E2kProperties *props)
* @owner_cal_uri: the exchange: URI of the delegator's Calendar
* @subscriber_email: the email address of the delegatee
*
- * When delegatees have to respond to meeting-related messages, Exchange
- * mangles the iCalendar, such that we need to demangle it in order to get the
+ * When delegatees have to respond to meeting-related messages, Exchange
+ * mangles the iCalendar, such that we need to demangle it in order to get the
* iTIP control to do the right thing with it. That happens here.
*
*
@@ -366,7 +366,7 @@ mail_util_demangle_meeting_related_message (GString *body,
icalproperty_remove_parameter_by_kind (prop, ICAL_CN_PARAMETER);
icalproperty_add_parameter (prop, icalparameter_new_cn (g_strdup(owner_cn)));
icalproperty_remove_parameter_by_kind (prop, ICAL_SENTBY_PARAMETER);
- icalproperty_add_parameter (prop,
+ icalproperty_add_parameter (prop,
icalparameter_new_sentby (g_strdup_printf("MAILTO:%s", subscriber_email)));
g_free (text);
break;
@@ -387,14 +387,14 @@ mail_util_demangle_meeting_related_message (GString *body,
text = g_strstrip (text);
switch (unmangle_type) {
- case MAIL_UTIL_DEMANGLE_DELGATED_MEETING:
+ case MAIL_UTIL_DEMANGLE_DELGATED_MEETING:
if (text && !g_ascii_strcasecmp (subscriber_email, text)) {
icalproperty_set_organizer (prop, g_strdup_printf ("MAILTO:%s", owner_email));
modify_prop = TRUE;
}
break;
- case MAIL_UTIL_DEMANGLE_MEETING_IN_SUBSCRIBED_INBOX:
- case MAIL_UTIL_DEMANGLE_SENDER_FIELD:
+ case MAIL_UTIL_DEMANGLE_MEETING_IN_SUBSCRIBED_INBOX:
+ case MAIL_UTIL_DEMANGLE_SENDER_FIELD:
if (text && !g_ascii_strcasecmp (owner_email, text))
modify_prop = TRUE;
break;
@@ -405,7 +405,7 @@ mail_util_demangle_meeting_related_message (GString *body,
icalproperty_remove_parameter_by_kind (prop, ICAL_CN_PARAMETER);
icalproperty_add_parameter (prop, icalparameter_new_cn (g_strdup(owner_cn)));
icalproperty_remove_parameter_by_kind (prop, ICAL_SENTBY_PARAMETER);
- icalproperty_add_parameter (prop,
+ icalproperty_add_parameter (prop,
icalparameter_new_sentby (g_strdup_printf("MAILTO:%s", subscriber_email)));
}
}
diff --git a/mail/mail-utils.h b/mail/mail-utils.h
index 4f3d602..32d03e4 100644
--- a/mail/mail-utils.h
+++ b/mail/mail-utils.h
@@ -12,9 +12,9 @@ extern "C" {
#include "e2k-properties.h"
typedef enum {
- MAIL_UTIL_DEMANGLE_DELGATED_MEETING,
- MAIL_UTIL_DEMANGLE_MEETING_IN_SUBSCRIBED_INBOX,
- MAIL_UTIL_DEMANGLE_SENDER_FIELD
+ MAIL_UTIL_DEMANGLE_DELGATED_MEETING,
+ MAIL_UTIL_DEMANGLE_MEETING_IN_SUBSCRIBED_INBOX,
+ MAIL_UTIL_DEMANGLE_SENDER_FIELD
} MailUtilDemangleType;
char *mail_util_mapi_to_smtp_headers (E2kProperties *props);
diff --git a/storage/exchange-component.c b/storage/exchange-component.c
index 73388b4..d2116d0 100644
--- a/storage/exchange-component.c
+++ b/storage/exchange-component.c
@@ -334,7 +334,7 @@ new_connection (MailStubListener *listener, int cmd_fd, int status_fd,
}
stub = mail_stub_exchange_new (account, cmd_fd, status_fd);
- mse = (MailStubExchange *) stub;
+ mse = (MailStubExchange *) stub;
mse_prev = (MailStubExchange *) listener->stub;
if (mse_prev) {
g_hash_table_destroy (mse->folders_by_name);
diff --git a/storage/main.c b/storage/main.c
index 56584ae..81d3214 100644
--- a/storage/main.c
+++ b/storage/main.c
@@ -195,7 +195,7 @@ main (int argc, char **argv)
_exchange_storage_datadir = e_util_replace_prefix (PREFIX, e_util_get_prefix (), DATADIR);
_exchange_storage_gladedir = e_util_replace_prefix (PREFIX, e_util_get_prefix (), CONNECTOR_GLADEDIR);
_exchange_storage_imagesdir = e_util_replace_prefix (PREFIX, e_util_get_prefix (), CONNECTOR_IMAGESDIR);
-
+
localedir = e_util_replace_prefix (CONNECTOR_LOCALEDIR, e_util_get_cp_prefix (), CONNECTOR_LOCALEDIR);
bindtextdomain (GETTEXT_PACKAGE, localedir);
}
diff --git a/storage/ximian-connector-setup.c b/storage/ximian-connector-setup.c
index c8641b5..ba47f06 100644
--- a/storage/ximian-connector-setup.c
+++ b/storage/ximian-connector-setup.c
@@ -50,7 +50,7 @@ main (int argc, char **argv)
_exchange_storage_datadir = e_util_replace_prefix (PREFIX, e_util_get_prefix (), DATADIR);
_exchange_storage_gladedir = e_util_replace_prefix (PREFIX, e_util_get_prefix (), CONNECTOR_GLADEDIR);
_exchange_storage_imagesdir = e_util_replace_prefix (PREFIX, e_util_get_prefix (), CONNECTOR_IMAGESDIR);
-
+
localedir = e_util_replace_prefix (CONNECTOR_LOCALEDIR, e_util_get_cp_prefix (), CONNECTOR_LOCALEDIR);
bindtextdomain (GETTEXT_PACKAGE, localedir);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]