aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/groupwise-features')
-rw-r--r--plugins/groupwise-features/camel-gw-listener.c64
-rw-r--r--plugins/groupwise-features/groupwise-account-setup.c6
-rw-r--r--plugins/groupwise-features/proxy-login.c6
-rw-r--r--plugins/groupwise-features/proxy.c20
-rw-r--r--plugins/groupwise-features/send-options.c4
5 files changed, 50 insertions, 50 deletions
diff --git a/plugins/groupwise-features/camel-gw-listener.c b/plugins/groupwise-features/camel-gw-listener.c
index fff8af3dd1..ff00f50913 100644
--- a/plugins/groupwise-features/camel-gw-listener.c
+++ b/plugins/groupwise-features/camel-gw-listener.c
@@ -143,17 +143,17 @@ static GwAccountInfo*
lookup_account_info (const gchar *key)
{
GList *list;
- GwAccountInfo *info;
+ GwAccountInfo *info;
gint found = 0;
- if (!key)
- return NULL;
+ if (!key)
+ return NULL;
info = NULL;
- for (list = g_list_first (groupwise_accounts); list; list = g_list_next (list)) {
- info = (GwAccountInfo *) (list->data);
- found = (strcmp (info->uid, key) == 0);
+ for (list = g_list_first (groupwise_accounts); list; list = g_list_next (list)) {
+ info = (GwAccountInfo *) (list->data);
+ found = (strcmp (info->uid, key) == 0);
if (found)
break;
}
@@ -175,7 +175,7 @@ add_esource (const gchar *conf_key, GwAccountInfo *info, const gchar *source_na
ESourceList *source_list;
ESourceGroup *group;
ESource *source;
- GConfClient* client;
+ GConfClient* client;
GSList *ids, *temp;
const gchar *source_selection_key;
gchar *relative_uri;
@@ -268,15 +268,15 @@ static void
remove_esource (const gchar *conf_key, const gchar *group_name, gchar * source_name, const gchar * relative_uri)
{
ESourceList *list;
- GSList *groups;
+ GSList *groups;
gboolean found_group;
GConfClient* client;
GSList *ids;
GSList *node_tobe_deleted;
const gchar *source_selection_key;
- client = gconf_client_get_default ();
- list = e_source_list_new_for_gconf (client, conf_key);
+ client = gconf_client_get_default ();
+ list = e_source_list_new_for_gconf (client, conf_key);
groups = e_source_list_peek_groups (list);
found_group = FALSE;
@@ -339,7 +339,7 @@ static void
modify_esource (const gchar * conf_key, GwAccountInfo *old_account_info, EAccount *a, CamelURL *new_url)
{
ESourceList *list;
- GSList *groups;
+ GSList *groups;
gchar *old_relative_uri;
CamelURL *url;
gboolean found_group;
@@ -356,7 +356,7 @@ modify_esource (const gchar * conf_key, GwAccountInfo *old_account_info, EAccoun
old_relative_uri = g_strdup_printf ("%s@%s/", url->user, poa_address);
client = gconf_client_get_default ();
- list = e_source_list_new_for_gconf (client, conf_key);
+ list = e_source_list_new_for_gconf (client, conf_key);
groups = e_source_list_peek_groups (list);
found_group = FALSE;
@@ -456,7 +456,7 @@ static GList*
get_addressbook_names_from_server (gchar *source_url)
{
gchar *key;
- EGwConnection *cnc;
+ EGwConnection *cnc;
gchar *password;
GList *book_list = NULL;
gint status, count = 0;
@@ -472,15 +472,15 @@ get_addressbook_names_from_server (gchar *source_url)
guint32 flags = E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET;
url = camel_url_new (source_url, NULL);
- if (url == NULL) {
- return NULL;
- }
+ if (url == NULL) {
+ return NULL;
+ }
poa_address = url->host;
if (!poa_address || strlen (poa_address) ==0)
return NULL;
soap_port = camel_url_get_param (url, "soap_port");
- if (!soap_port || strlen (soap_port) == 0)
+ if (!soap_port || strlen (soap_port) == 0)
soap_port = "7191";
use_ssl = camel_url_get_param (url, "use_ssl");
@@ -571,8 +571,8 @@ add_addressbook_sources (EAccount *account)
{
CamelURL *url;
ESourceList *list;
- ESourceGroup *group;
- ESource *source;
+ ESourceGroup *group;
+ ESource *source;
gchar *base_uri;
const gchar *soap_port;
GList *books_list, *temp_list;
@@ -581,7 +581,7 @@ add_addressbook_sources (EAccount *account)
const gchar *poa_address;
gboolean is_frequent_contacts = FALSE, is_writable = FALSE;
- url = camel_url_new (account->source->url, NULL);
+ url = camel_url_new (account->source->url, NULL);
if (url == NULL) {
return FALSE;
}
@@ -663,7 +663,7 @@ modify_addressbook_sources ( EAccount *account, GwAccountInfo *existing_account_
{
CamelURL *url;
ESourceList *list;
- ESourceGroup *group;
+ ESourceGroup *group;
GSList *groups;
gboolean found_group;
gboolean delete_group;
@@ -746,7 +746,7 @@ static void
remove_addressbook_sources (GwAccountInfo *existing_account_info)
{
ESourceList *list;
- ESourceGroup *group;
+ ESourceGroup *group;
GSList *groups;
gboolean found_group;
CamelURL *url;
@@ -841,7 +841,7 @@ account_removed (EAccountList *account_listener, EAccount *account)
g_free (info->uid);
g_free (info->name);
g_free (info->source_url);
- g_free (info);
+ g_free (info);
}
static void
@@ -1014,15 +1014,15 @@ camel_gw_listener_get_type (void)
if (!camel_gw_listener_type) {
static GTypeInfo info = {
- sizeof (CamelGwListenerClass),
- (GBaseInitFunc) NULL,
- (GBaseFinalizeFunc) NULL,
- (GClassInitFunc) camel_gw_listener_class_init,
- NULL, NULL,
- sizeof (CamelGwListener),
- 0,
- (GInstanceInitFunc) camel_gw_listener_init
- };
+ sizeof (CamelGwListenerClass),
+ (GBaseInitFunc) NULL,
+ (GBaseFinalizeFunc) NULL,
+ (GClassInitFunc) camel_gw_listener_class_init,
+ NULL, NULL,
+ sizeof (CamelGwListener),
+ 0,
+ (GInstanceInitFunc) camel_gw_listener_init
+ };
camel_gw_listener_type = g_type_register_static (PARENT_TYPE, "CamelGwListener", &info, 0);
}
diff --git a/plugins/groupwise-features/groupwise-account-setup.c b/plugins/groupwise-features/groupwise-account-setup.c
index 4cd8c3ca56..335a3b525e 100644
--- a/plugins/groupwise-features/groupwise-account-setup.c
+++ b/plugins/groupwise-features/groupwise-account-setup.c
@@ -50,9 +50,9 @@ static void
set_esource_props (const gchar *path, EAccount *a, GConfClient *client, const gchar *name)
{
ESourceList *list;
- GSList *groups;
+ GSList *groups;
- list = e_source_list_new_for_gconf (client, path);
+ list = e_source_list_new_for_gconf (client, path);
groups = e_source_list_peek_groups (list);
for (; groups != NULL; groups = g_slist_next (groups)) {
@@ -84,7 +84,7 @@ set_esource_props (const gchar *path, EAccount *a, GConfClient *client, const gc
void
ensure_mandatory_esource_properties (EPlugin *ep, ESEventTargetUpgrade *target)
{
- GConfClient* client;
+ GConfClient* client;
EAccountList *al;
EIterator *it;
diff --git a/plugins/groupwise-features/proxy-login.c b/plugins/groupwise-features/proxy-login.c
index e40771295b..61e32216a4 100644
--- a/plugins/groupwise-features/proxy-login.c
+++ b/plugins/groupwise-features/proxy-login.c
@@ -159,7 +159,7 @@ proxy_login_get_type (void)
};
type = g_type_register_static (G_TYPE_OBJECT,
"proxyLoginType",
- &info, 0);
+ &info, 0);
}
return type;
@@ -192,7 +192,7 @@ proxy_get_password (EAccount *account, gchar **user_name, gchar **password)
return 0;
soap_port = camel_url_get_param (url, "soap_port");
- if (!soap_port || strlen (soap_port) == 0)
+ if (!soap_port || strlen (soap_port) == 0)
soap_port = "7191";
use_ssl = camel_url_get_param (url, "use_ssl");
@@ -235,7 +235,7 @@ proxy_login_get_cnc (EAccount *account, GtkWindow *password_dlg_parrent)
return NULL;
soap_port = camel_url_get_param (url, "soap_port");
- if (!soap_port || strlen (soap_port) == 0)
+ if (!soap_port || strlen (soap_port) == 0)
soap_port = "7191";
use_ssl = camel_url_get_param (url, "use_ssl");
diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c
index 3d350232db..555d3f716b 100644
--- a/plugins/groupwise-features/proxy.c
+++ b/plugins/groupwise-features/proxy.c
@@ -233,7 +233,7 @@ proxy_dialog_get_type (void)
type = g_type_register_static (G_TYPE_OBJECT,
"proxyDialogType",
- &info, 0);
+ &info, 0);
}
return type;
@@ -477,7 +477,7 @@ proxy_get_cnc (EAccount *account, GtkWindow *parent_window)
return NULL;
soap_port = camel_url_get_param (url, "soap_port");
- if (!soap_port || strlen (soap_port) == 0)
+ if (!soap_port || strlen (soap_port) == 0)
soap_port = "7191";
use_ssl = camel_url_get_param (url, "use_ssl");
@@ -853,7 +853,7 @@ static void
proxy_remove_account (GtkWidget *button, EAccount *account)
{
GtkTreeIter iter;
- GtkTreeModel *model;
+ GtkTreeModel *model;
proxyDialogPrivate *priv;
proxyHandler *deleted;
GtkTreeSelection* account_select;
@@ -864,8 +864,8 @@ proxy_remove_account (GtkWidget *button, EAccount *account)
priv = prd->priv;
account_select = gtk_tree_view_get_selection (GTK_TREE_VIEW (priv->tree));
- if (gtk_tree_selection_get_selected (account_select, &model, &iter)) {
- gtk_tree_model_get (model, &iter, ACCOUNT_NAME, &account_mailid, -1);
+ if (gtk_tree_selection_get_selected (account_select, &model, &iter)) {
+ gtk_tree_model_get (model, &iter, ACCOUNT_NAME, &account_mailid, -1);
account_mailid = g_strrstr (account_mailid, "\n") + 1;
deleted = proxy_get_item_from_list (account, account_mailid);
@@ -873,7 +873,7 @@ proxy_remove_account (GtkWidget *button, EAccount *account)
deleted->flags |= E_GW_PROXY_DELETED;
proxy_update_tree_view (account);
- }
+ }
}
static void
@@ -998,7 +998,7 @@ static void
proxy_edit_account (GtkWidget *button, EAccount *account)
{
GtkTreeIter iter;
- GtkTreeModel *model;
+ GtkTreeModel *model;
proxyDialogPrivate *priv;
GtkTreeSelection* account_select;
proxyHandler *edited;
@@ -1014,8 +1014,8 @@ proxy_edit_account (GtkWidget *button, EAccount *account)
account_select = gtk_tree_view_get_selection (GTK_TREE_VIEW (priv->tree));
- if (gtk_tree_selection_get_selected (account_select, &model, &iter)) {
- gtk_tree_model_get (model, &iter, ACCOUNT_NAME, &account_mailid, -1);
+ if (gtk_tree_selection_get_selected (account_select, &model, &iter)) {
+ gtk_tree_model_get (model, &iter, ACCOUNT_NAME, &account_mailid, -1);
account_mailid = g_strrstr (account_mailid, "\n") + 1;
edited = proxy_get_item_from_list (account, account_mailid);
if (edited) {
@@ -1034,5 +1034,5 @@ proxy_edit_account (GtkWidget *button, EAccount *account)
gtk_widget_hide (contacts);
gtk_widget_show (GTK_WIDGET (priv->main));
}
- }
+ }
}
diff --git a/plugins/groupwise-features/send-options.c b/plugins/groupwise-features/send-options.c
index a3c08ca90c..8b0aa48b55 100644
--- a/plugins/groupwise-features/send-options.c
+++ b/plugins/groupwise-features/send-options.c
@@ -67,7 +67,7 @@ get_cnc (GtkWindow *parent_window)
return NULL;
soap_port = camel_url_get_param (url, "soap_port");
- if (!soap_port || strlen (soap_port) == 0)
+ if (!soap_port || strlen (soap_port) == 0)
soap_port = "7191";
use_ssl = camel_url_get_param (url, "use_ssl");
@@ -350,7 +350,7 @@ send_options_copy_check_changed (EGwSendOptions *n_opts)
e_send_options_copy_status_options (sod->data->copts, gcopts);
e_send_options_copy_status_options (sod->data->topts, gtopts);
- if (check_general_changed (ggopts, o_gopts))
+ if (check_general_changed (ggopts, o_gopts))
changed = TRUE;
if (check_status_options_changed (gmopts, o_gmopts))
changed = TRUE;