aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-29 01:06:29 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-29 01:21:01 +0800
commit14f8eee012382f04090ea9277e9567d5f32e8bf0 (patch)
treed1c454675e816f8d948942c21c5d899a969b08a7 /plugins/exchange-operations
parente66024d664a1d346d6246b4e8b7c682bafcf4dda (diff)
downloadgsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.gz
gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.zst
gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.zip
Whitespace cleanup.
Diffstat (limited to 'plugins/exchange-operations')
-rw-r--r--plugins/exchange-operations/exchange-account-setup.c8
-rw-r--r--plugins/exchange-operations/exchange-config-listener.c26
-rw-r--r--plugins/exchange-operations/exchange-config-listener.h4
-rw-r--r--plugins/exchange-operations/exchange-delegates-user.c4
-rw-r--r--plugins/exchange-operations/exchange-delegates.c2
-rw-r--r--plugins/exchange-operations/exchange-folder-subscription.c4
-rw-r--r--plugins/exchange-operations/exchange-mail-send-options.c6
-rw-r--r--plugins/exchange-operations/exchange-operations.c6
-rw-r--r--plugins/exchange-operations/exchange-send-options.c18
9 files changed, 39 insertions, 39 deletions
diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c
index 53af222142..46f4101bb9 100644
--- a/plugins/exchange-operations/exchange-account-setup.c
+++ b/plugins/exchange-operations/exchange-account-setup.c
@@ -120,7 +120,7 @@ btn_chpass_clicked (GtkButton *button, gpointer data)
{
ExchangeAccount *account;
gchar *old_password, *new_password;
- ExchangeAccountResult result;
+ ExchangeAccountResult result;
account = exchange_operations_get_exchange_account ();
if (!account)
@@ -137,7 +137,7 @@ btn_chpass_clicked (GtkButton *button, gpointer data)
return;
}
/* g_print ("Current password is \"%s\"\n", old_password); */
- result = exchange_account_set_password (account, old_password, new_password);
+ result = exchange_account_set_password (account, old_password, new_password);
if (result != EXCHANGE_ACCOUNT_CONNECT_SUCCESS)
exchange_operations_report_error (account, result);
@@ -738,8 +738,8 @@ org_gnome_exchange_owa_url(EPlugin *epl, EConfigHookItemFactoryData *data)
/* url has hostname but not owa_url.
* Account has been created using x-c-s or evo is upgraded to 2.2
- * When invoked from druid, hostname will get set after validation,
- * so this condition will never be true during account creation.
+ * When invoked from druid, hostname will get set after validation,
+ * so this condition will never be true during account creation.
*/
owa_url = construct_owa_url (url);
camel_url_set_param (url, "owa_url", owa_url);
diff --git a/plugins/exchange-operations/exchange-config-listener.c b/plugins/exchange-operations/exchange-config-listener.c
index 35d06d527d..c898f1b4c5 100644
--- a/plugins/exchange-operations/exchange-config-listener.c
+++ b/plugins/exchange-operations/exchange-config-listener.c
@@ -237,12 +237,12 @@ add_defaults_for_account (ExchangeConfigListener *config_listener,
eaccount = config_listener->priv->configured_account;
if (!e_account_get_string (eaccount, E_ACCOUNT_DRAFTS_FOLDER_URI)) {
set_special_mail_folder (account, "drafts",
- &eaccount->drafts_folder_uri);
+ &eaccount->drafts_folder_uri);
save = TRUE;
}
if (!e_account_get_string (eaccount, E_ACCOUNT_SENT_FOLDER_URI)) {
set_special_mail_folder (account, "sentitems",
- &eaccount->sent_folder_uri);
+ &eaccount->sent_folder_uri);
save = TRUE;
}
if (save) {
@@ -302,9 +302,9 @@ add_account_esources (ExchangeAccount *account,
cal_source_group = e_source_group_new (account->account_name,
EXCHANGE_URI_PREFIX);
tasks_source_group = e_source_group_new (account->account_name,
- EXCHANGE_URI_PREFIX);
+ EXCHANGE_URI_PREFIX);
contacts_source_group = e_source_group_new (account->account_name,
- EXCHANGE_URI_PREFIX);
+ EXCHANGE_URI_PREFIX);
if (!e_source_list_add_group (contacts_source_list, contacts_source_group, -1) ||
!e_source_list_add_group (cal_source_list, cal_source_group, -1) ||
@@ -481,15 +481,15 @@ add_sources (ExchangeAccount *account)
folders = g_slist_append (folders, folder_info);
}
else if (!(strcmp (folder_type, "tasks")) ||
- !(strcmp (folder_type, "tasks/public"))) {
+ !(strcmp (folder_type, "tasks/public"))) {
folder_info->name = e_folder_get_name (folder);
folder_info->uri = e_folder_get_physical_uri (folder);
folder_info->type = EXCHANGE_TASKS_FOLDER;
folders = g_slist_append (folders, folder_info);
}
else if (!(strcmp (folder_type, "contacts")) ||
- !(strcmp (folder_type, "contacts/public")) ||
- !(strcmp (folder_type, "contacts/ldap"))) {
+ !(strcmp (folder_type, "contacts/public")) ||
+ !(strcmp (folder_type, "contacts/ldap"))) {
folder_info->name = e_folder_get_name (folder);
folder_info->uri = e_folder_get_physical_uri (folder);
folder_info->type = EXCHANGE_CONTACTS_FOLDER;
@@ -508,7 +508,7 @@ add_sources (ExchangeAccount *account)
static void
remove_account_esource (ExchangeAccount *account,
- FolderType folder_type)
+ FolderType folder_type)
{
ESourceGroup *group;
ESource *source = NULL;
@@ -732,7 +732,7 @@ exchange_config_listener_authenticate (ExchangeConfigListener *ex_conf_listener,
exchange_account_set_save_password (account, FALSE);
}
- exchange_account_connect (account, password, &result);
+ exchange_account_connect (account, password, &result);
g_free (password);
g_free (key);
@@ -743,7 +743,7 @@ exchange_config_listener_authenticate (ExchangeConfigListener *ex_conf_listener,
new_password = get_new_exchange_password (account);
if (new_password) {
/* try connecting with new password */
- exchange_account_connect (account, new_password, &result);
+ exchange_account_connect (account, new_password, &result);
g_free (new_password);
}
#endif
@@ -872,7 +872,7 @@ account_added (EAccountList *account_list, EAccount *account)
g_signal_emit (config_listener, signals[EXCHANGE_ACCOUNT_CREATED], 0,
exchange_account);
-/* add_sources (exchange_account); */
+/* add_sources (exchange_account); */
exchange_config_listener_get_offline_status (config_listener, &is_offline);
@@ -925,7 +925,7 @@ requires_relogin (gchar *current_url, gchar *new_url)
if (current_uri->authmech || new_uri->authmech) {
if (current_uri->authmech && new_uri->authmech) {
- if (strcmp (current_uri->authmech, new_uri->authmech)) {
+ if (strcmp (current_uri->authmech, new_uri->authmech)) {
/* Auth mechanism has changed */
relogin = TRUE;
goto end;
@@ -1031,7 +1031,7 @@ account_changed (EAccountList *account_list, EAccount *account)
remove_account_esources (priv->exchange_account);
exchange_account_forget_password (priv->exchange_account);
} else if (strcmp (config_listener->priv->configured_name, account->name)) {
-/* remove_account_esources (priv->exchange_account); */
+/* remove_account_esources (priv->exchange_account); */
exchange_config_listener_modify_esource_group_name (config_listener,
config_listener->priv->configured_name,
account->name);
diff --git a/plugins/exchange-operations/exchange-config-listener.h b/plugins/exchange-operations/exchange-config-listener.h
index 3ec2d5c62f..c079b7eac7 100644
--- a/plugins/exchange-operations/exchange-config-listener.h
+++ b/plugins/exchange-operations/exchange-config-listener.h
@@ -71,8 +71,8 @@ ExchangeConfigListener *exchange_config_listener_new (void);
GSList *exchange_config_listener_get_accounts (ExchangeConfigListener *config_listener);
-void add_folder_esource (ExchangeAccount *account, FolderType folder_type, const gchar *folder_name, const gchar *physical_uri);
-void remove_folder_esource (ExchangeAccount *account, FolderType folder_type, const gchar *physical_uri);
+void add_folder_esource (ExchangeAccount *account, FolderType folder_type, const gchar *folder_name, const gchar *physical_uri);
+void remove_folder_esource (ExchangeAccount *account, FolderType folder_type, const gchar *physical_uri);
ExchangeConfigListenerStatus exchange_config_listener_get_offline_status (ExchangeConfigListener *excl, gint *mode);
void exchange_config_listener_modify_esource_group_name (ExchangeConfigListener *excl,
diff --git a/plugins/exchange-operations/exchange-delegates-user.c b/plugins/exchange-operations/exchange-delegates-user.c
index 437aeec51f..085bce398b 100644
--- a/plugins/exchange-operations/exchange-delegates-user.c
+++ b/plugins/exchange-operations/exchange-delegates-user.c
@@ -328,7 +328,7 @@ exchange_delegates_user_edit (ExchangeAccount *account,
summarizing the permissions assigned to him.
*/
msg_part1 = _("This message was sent automatically by Evolution to inform you that you have been "
- "designated as a delegate. You can now send messages on my behalf.");
+ "designated as a delegate. You can now send messages on my behalf.");
/* To translators: Another chunk of the same message.
*/
@@ -488,7 +488,7 @@ exchange_delegates_user_new (const gchar *display_name)
ExchangeDelegatesUser *
exchange_delegates_user_new_from_gc (E2kGlobalCatalog *gc,
const gchar *email,
- GByteArray *creator_entryid)
+ GByteArray *creator_entryid)
{
E2kGlobalCatalogStatus status;
E2kGlobalCatalogEntry *entry;
diff --git a/plugins/exchange-operations/exchange-delegates.c b/plugins/exchange-operations/exchange-delegates.c
index f5e8891b77..b4ef8c43ad 100644
--- a/plugins/exchange-operations/exchange-delegates.c
+++ b/plugins/exchange-operations/exchange-delegates.c
@@ -949,7 +949,7 @@ exchange_delegates (ExchangeAccount *account, GtkWidget *parent)
/* Set up the table */
delegates->model = gtk_list_store_new (1, G_TYPE_STRING);
- delegates->table = glade_xml_get_widget (delegates->xml, "delegates_table");
+ delegates->table = glade_xml_get_widget (delegates->xml, "delegates_table");
column = gtk_tree_view_column_new_with_attributes (
_("Name"), gtk_cell_renderer_text_new (), "text", 0, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (delegates->table),
diff --git a/plugins/exchange-operations/exchange-folder-subscription.c b/plugins/exchange-operations/exchange-folder-subscription.c
index 6b5d2375bc..f8772373cb 100644
--- a/plugins/exchange-operations/exchange-folder-subscription.c
+++ b/plugins/exchange-operations/exchange-folder-subscription.c
@@ -219,8 +219,8 @@ subscribe_to_folder (GtkWidget *dialog, gint response, gpointer data)
}
/* It would be nice to insensitivize the OK button appropriately
- instead of doing this, but unfortunately we can't do this for the
- Bonobo control. */
+ instead of doing this, but unfortunately we can't do this for the
+ Bonobo control. */
e_error_run (GTK_WINDOW (dialog), ERROR_DOMAIN ":select-user", NULL);
}
diff --git a/plugins/exchange-operations/exchange-mail-send-options.c b/plugins/exchange-operations/exchange-mail-send-options.c
index 39929eaa5b..9537f592a3 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)) {
@@ -109,7 +109,7 @@ append_to_header (ExchangeSendOptionsDialog *dialog, gint state, gpointer data)
}
else
- e_msg_composer_add_header (composer, "From",
+ e_msg_composer_add_header (composer, "From",
dialog->options->delegate_address);
}
@@ -183,7 +183,7 @@ org_gnome_exchange_send_options (EPlugin *ep, EMEventTargetComposer *target)
return;
}
e_msg_composer_set_send_options (composer, TRUE);
- /*disply the send options dialog*/
+ /*disply the send options dialog*/
if (!dialog) {
g_print ("New dialog\n\n") ;
dialog = exchange_sendoptions_dialog_new () ;
diff --git a/plugins/exchange-operations/exchange-operations.c b/plugins/exchange-operations/exchange-operations.c
index e9b8d3fd5d..d79948ccc4 100644
--- a/plugins/exchange-operations/exchange-operations.c
+++ b/plugins/exchange-operations/exchange-operations.c
@@ -102,7 +102,7 @@ exchange_operations_cta_add_node_to_tree (GtkTreeStore *store, GtkTreeIter *pare
exchange_operations_tokenize_string (&luri, nodename, '/', sizeof(nodename));
- if (!nodename[0]) {
+ if (!nodename[0]) {
return TRUE;
}
@@ -157,7 +157,7 @@ exchange_operations_cta_select_node_from_tree (GtkTreeStore *store, GtkTreeIter
return;
exchange_operations_tokenize_string (&luri, nodename, '/', sizeof(nodename));
- if (!nodename[0]) {
+ if (!nodename[0]) {
return;
}
@@ -278,7 +278,7 @@ void exchange_operations_update_child_esources (ESource *source, const gchar *ol
/* This ESource points to one of the child folders */
gchar **tmpv, *truri;
/* A nasty search and replace */
- tmpv = g_strsplit (ruri, old_path, -1);
+ tmpv = g_strsplit (ruri, old_path, -1);
truri = g_strjoinv (new_path, tmpv);
e_source_set_relative_uri (tsource->data, truri);
g_strfreev (tmpv);
diff --git a/plugins/exchange-operations/exchange-send-options.c b/plugins/exchange-operations/exchange-send-options.c
index 783887cb24..e44056abb8 100644
--- a/plugins/exchange-operations/exchange-send-options.c
+++ b/plugins/exchange-operations/exchange-send-options.c
@@ -108,7 +108,7 @@ exchange_send_options_get_widgets_data (ExchangeSendOptionsDialog *sod)
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));
+ destination_store = e_name_selector_entry_peek_destination_store (E_NAME_SELECTOR_ENTRY (name_selector_entry));
destinations = e_destination_store_list_destinations (destination_store);
tmp = destinations;
@@ -268,7 +268,7 @@ GType exchange_sendoptions_dialog_get_type (void)
sizeof (ExchangeSendOptionsDialog),
0, /* n_preallocs */
(GInstanceInitFunc) exchange_sendoptions_dialog_init,
- NULL /* instance_init */
+ NULL /* instance_init */
};
type = g_type_register_static (G_TYPE_OBJECT,
"ExchangeSendOptionsDialogType",
@@ -279,8 +279,8 @@ GType exchange_sendoptions_dialog_get_type (void)
static void exchange_send_options_cb (GtkDialog *dialog, gint state, gpointer func_data)
{
- ExchangeSendOptionsDialogPrivate *priv;
- ExchangeSendOptionsDialog *sod;
+ ExchangeSendOptionsDialogPrivate *priv;
+ ExchangeSendOptionsDialog *sod;
sod = func_data;
priv = sod->priv;
@@ -290,15 +290,15 @@ static void exchange_send_options_cb (GtkDialog *dialog, gint state, gpointer fu
if(exchange_send_options_get_widgets_data (sod) < 0)
return;
case GTK_RESPONSE_CANCEL:
- gtk_widget_hide (priv->main);
- gtk_widget_destroy (priv->main);
- g_object_unref (priv->xml);
- break;
+ gtk_widget_hide (priv->main);
+ gtk_widget_destroy (priv->main);
+ g_object_unref (priv->xml);
+ break;
case GTK_RESPONSE_HELP:
e_display_help (
GTK_WINDOW (priv->main),
priv->help_section);
- break;
+ break;
}
g_signal_emit (G_OBJECT (func_data), signals[SOD_RESPONSE], 0, state);