aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-19 02:07:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-19 02:07:42 +0800
commitfa360fde289f9b850191f89059d1a5e6d67c07c7 (patch)
treed1d8a43364d21daf94d5b9ac1f352faffd03dcd2 /plugins/exchange-operations
parentbecd78e26ed61ff386d0b229f85bdcf590c28e94 (diff)
downloadgsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.gz
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.bz2
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.lz
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.xz
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.zst
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.zip
More whitespace cleanup.
Diffstat (limited to 'plugins/exchange-operations')
-rw-r--r--plugins/exchange-operations/exchange-config-listener.c12
-rw-r--r--plugins/exchange-operations/exchange-delegates-user.c2
-rw-r--r--plugins/exchange-operations/exchange-mail-send-options.c4
-rw-r--r--plugins/exchange-operations/exchange-send-options.c14
4 files changed, 16 insertions, 16 deletions
diff --git a/plugins/exchange-operations/exchange-config-listener.c b/plugins/exchange-operations/exchange-config-listener.c
index a45d9bc309..2c16d2f9ab 100644
--- a/plugins/exchange-operations/exchange-config-listener.c
+++ b/plugins/exchange-operations/exchange-config-listener.c
@@ -326,7 +326,7 @@ add_account_esources (ExchangeAccount *account,
source, -1);
g_object_unref (source);
}
- else if (folder->type == EXCHANGE_CALENDAR_FOLDER){
+ else if (folder->type == EXCHANGE_CALENDAR_FOLDER) {
relative_uri = g_strdup (folder->uri +
strlen (EXCHANGE_URI_PREFIX));
source = e_source_new (folder->name, relative_uri);
@@ -354,7 +354,7 @@ add_account_esources (ExchangeAccount *account,
g_free (relative_uri);
}
- else if (folder->type == EXCHANGE_TASKS_FOLDER){
+ else if (folder->type == EXCHANGE_TASKS_FOLDER) {
relative_uri = g_strdup (folder->uri +
strlen (EXCHANGE_URI_PREFIX));
source = e_source_new (folder->name, relative_uri);
@@ -542,7 +542,7 @@ remove_account_esource (ExchangeAccount *account,
strcmp (e_source_group_peek_base_uri (group), EXCHANGE_URI_PREFIX) == 0) {
sources = e_source_group_peek_sources (group);
- for(; sources != NULL; sources = g_slist_next (sources)) {
+ for (; sources != NULL; sources = g_slist_next (sources)) {
source = E_SOURCE (sources->data);
source_uid = e_source_peek_uid (source);
@@ -946,7 +946,7 @@ requires_relogin (gchar *current_url, gchar *new_url)
break;
}
}
- else if (current_param_val || new_param_val){
+ else if (current_param_val || new_param_val) {
/* check for added or deleted parameter */
relogin = TRUE;
break;
@@ -1257,7 +1257,7 @@ exchange_add_autocompletion_folders (GConfClient *gc_client, ExchangeAccount *ac
strcmp (e_source_group_peek_base_uri (group), EXCHANGE_URI_PREFIX) == 0) {
GSList *sources = e_source_group_peek_sources (group);
- for(; sources != NULL; sources = g_slist_next (sources)) {
+ for (; sources != NULL; sources = g_slist_next (sources)) {
ESource *source = E_SOURCE (sources->data);
const gchar *absolute_uri;
@@ -1374,7 +1374,7 @@ remove_selected_non_offline_esources (ExchangeAccount *account, const gchar *gco
strcmp (e_source_group_peek_base_uri (group), EXCHANGE_URI_PREFIX) == 0) {
sources = e_source_group_peek_sources (group);
- for(; sources != NULL; sources = g_slist_next (sources)) {
+ for (; sources != NULL; sources = g_slist_next (sources)) {
source = E_SOURCE (sources->data);
source_uid = e_source_peek_uid (source);
diff --git a/plugins/exchange-operations/exchange-delegates-user.c b/plugins/exchange-operations/exchange-delegates-user.c
index bc8cb1e357..191ed25fc8 100644
--- a/plugins/exchange-operations/exchange-delegates-user.c
+++ b/plugins/exchange-operations/exchange-delegates-user.c
@@ -409,7 +409,7 @@ exchange_delegates_user_edit (ExchangeAccount *account,
}
eaccount = exchange_account_fetch (account);
- if(eaccount) {
+ if (eaccount) {
camel_medium_set_header (CAMEL_MEDIUM (delegate_mail),
"X-Evolution-Account", eaccount->uid);
camel_medium_set_header (CAMEL_MEDIUM (delegate_mail),
diff --git a/plugins/exchange-operations/exchange-mail-send-options.c b/plugins/exchange-operations/exchange-mail-send-options.c
index 4cc582f25f..04065e4036 100644
--- a/plugins/exchange-operations/exchange-mail-send-options.c
+++ b/plugins/exchange-operations/exchange-mail-send-options.c
@@ -91,7 +91,7 @@ append_to_header (ExchangeSendOptionsDialog *dialog, gint state, gpointer data)
addr = camel_header_address_decode (dialog->options->delegate_address, NULL);
sender_addr = camel_header_address_decode (sender_id, NULL);
- if(dialog->options->send_as_del_enabled &&
+ if (dialog->options->send_as_del_enabled &&
dialog->options->delegate_address &&
g_ascii_strcasecmp(addr->v.addr, sender_addr->v.addr)) {
@@ -102,7 +102,7 @@ append_to_header (ExchangeSendOptionsDialog *dialog, gint state, gpointer data)
* So for cases where there is no name we append the address
* (only email) within angular braces.
*/
- if(!g_ascii_strcasecmp (addr->name, "")) {
+ if (!g_ascii_strcasecmp (addr->name, "")) {
recipient_id = g_strdup_printf ("<%s>",
dialog->options->delegate_address);
e_msg_composer_add_header (composer, "From", recipient_id);
diff --git a/plugins/exchange-operations/exchange-send-options.c b/plugins/exchange-operations/exchange-send-options.c
index cc707ab65e..4c6e705b9d 100644
--- a/plugins/exchange-operations/exchange-send-options.c
+++ b/plugins/exchange-operations/exchange-send-options.c
@@ -105,7 +105,7 @@ exchange_send_options_get_widgets_data (ExchangeSendOptionsDialog *sod)
/* This block helps us fetch the address of the delegator(s). If no delegator is selected or more
than one delegatee has been selected then an info dialog is popped up to help the user.
*/
- if(gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->delegate_enabled))) {
+ if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->delegate_enabled))) {
name_selector_entry = e_name_selector_peek_section_entry (priv->proxy_name_selector, "Add User");
destination_store = e_name_selector_entry_peek_destination_store (E_NAME_SELECTOR_ENTRY (name_selector_entry));
@@ -132,7 +132,7 @@ exchange_send_options_get_widgets_data (ExchangeSendOptionsDialog *sod)
options->delegate_email = email;
}
- if(count == 0) {
+ if (count == 0) {
e_error_run ((GtkWindow *) priv->main,
"org-gnome-exchange-operations:no-delegate-selected", NULL, NULL);
gtk_widget_grab_focus ((GtkWidget *) name_selector_entry);
@@ -142,7 +142,7 @@ exchange_send_options_get_widgets_data (ExchangeSendOptionsDialog *sod)
return -1;
}
- if(count > 1) {
+ if (count > 1) {
e_error_run ((GtkWindow *)priv->main,
"org-gnome-exchange-operations:more-delegates-selected", NULL, NULL);
gtk_widget_grab_focus ((GtkWidget *) name_selector_entry);
@@ -222,7 +222,7 @@ exchange_send_options_fill_widgets_with_data (ExchangeSendOptionsDialog *sod)
name_selector_entry = e_name_selector_peek_section_entry (priv->proxy_name_selector, "Add User");
- if(options->send_as_del_enabled) {
+ if (options->send_as_del_enabled) {
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->delegate_enabled), TRUE);
gtk_widget_set_sensitive ((GtkWidget *)name_selector_entry, TRUE);
gtk_widget_set_sensitive ((GtkWidget *)priv->button_user, TRUE);
@@ -287,7 +287,7 @@ static void exchange_send_options_cb (GtkDialog *dialog, gint state, gpointer fu
switch (state) {
case GTK_RESPONSE_OK:
- if(exchange_send_options_get_widgets_data (sod) < 0)
+ if (exchange_send_options_get_widgets_data (sod) < 0)
return;
case GTK_RESPONSE_CANCEL:
gtk_widget_hide (priv->main);
@@ -321,7 +321,7 @@ delegate_option_toggled (GtkCheckButton *button, gpointer func_data)
name_selector_entry = e_name_selector_peek_section_entry (priv->proxy_name_selector, "Add User");
- if(gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->delegate_enabled))) {
+ if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->delegate_enabled))) {
gtk_widget_set_sensitive ((GtkWidget *) name_selector_entry, TRUE);
gtk_widget_set_sensitive ((GtkWidget *) priv->button_user, TRUE);
}
@@ -411,7 +411,7 @@ exchange_sendoptions_dialog_run (ExchangeSendOptionsDialog *sod, GtkWidget *pare
exchange_send_options_fill_widgets_with_data (sod);
- if(options->delegate_address) {
+ if (options->delegate_address) {
e_name_selector_model_peek_section (name_selector_model, "Add User", NULL, &destination_store);
des = e_destination_new ();
e_destination_set_email (des, options->delegate_email);