projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f1e9cde
)
Updated to the new tny_session_camel_set_initialized API
author
Philip Van Hoof
<philip@codeminded.be>
Tue, 10 Jul 2007 14:32:16 +0000
(14:32 +0000)
committer
Philip Van Hoof
<philip@codeminded.be>
Tue, 10 Jul 2007 14:32:16 +0000
(14:32 +0000)
pmo-trunk-r2672
src/modest-tny-account-store.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-account-store.c
b/src/modest-tny-account-store.c
index
36cdff7
..
de071a6
100644
(file)
--- a/
src/modest-tny-account-store.c
+++ b/
src/modest-tny-account-store.c
@@
-448,7
+448,6
@@
gboolean on_idle_wrong_password (gpointer user_data)
found = g_hash_table_lookup_extended (priv->account_settings_dialog_hash,
modest_account_name, NULL, (gpointer*)&dialog_as_gpointer);
}
found = g_hash_table_lookup_extended (priv->account_settings_dialog_hash,
modest_account_name, NULL, (gpointer*)&dialog_as_gpointer);
}
-
ModestAccountSettingsDialog *dialog = dialog_as_gpointer;
ModestWindow *main_window =
ModestAccountSettingsDialog *dialog = dialog_as_gpointer;
ModestWindow *main_window =
@@
-1014,6
+1013,9
@@
modest_tny_account_store_get_accounts (TnyAccountStore *self, TnyList *list,
TNY_ACCOUNT_STORE_STORE_ACCOUNTS);
modest_tny_account_store_get_accounts (self, list,
TNY_ACCOUNT_STORE_TRANSPORT_ACCOUNTS);
TNY_ACCOUNT_STORE_STORE_ACCOUNTS);
modest_tny_account_store_get_accounts (self, list,
TNY_ACCOUNT_STORE_TRANSPORT_ACCOUNTS);
+
+ tny_session_camel_set_initialized (priv->session);
+
return;
}
return;
}
@@
-1022,12
+1024,16
@@
modest_tny_account_store_get_accounts (TnyAccountStore *self, TnyList *list,
get_server_accounts (self, list, TNY_ACCOUNT_TYPE_STORE);
else
get_cached_accounts (self, list, TNY_ACCOUNT_TYPE_STORE);
get_server_accounts (self, list, TNY_ACCOUNT_TYPE_STORE);
else
get_cached_accounts (self, list, TNY_ACCOUNT_TYPE_STORE);
+
+ tny_session_camel_set_initialized (priv->session);
} else if (request_type == TNY_ACCOUNT_STORE_TRANSPORT_ACCOUNTS) {
if (!priv->transport_accounts)
get_server_accounts (self, list, TNY_ACCOUNT_TYPE_TRANSPORT);
else
get_cached_accounts (self, list, TNY_ACCOUNT_TYPE_TRANSPORT);
} else if (request_type == TNY_ACCOUNT_STORE_TRANSPORT_ACCOUNTS) {
if (!priv->transport_accounts)
get_server_accounts (self, list, TNY_ACCOUNT_TYPE_TRANSPORT);
else
get_cached_accounts (self, list, TNY_ACCOUNT_TYPE_TRANSPORT);
+
+ tny_session_camel_set_initialized (priv->session);
} else
g_return_if_reached (); /* incorrect req type */
}
} else
g_return_if_reached (); /* incorrect req type */
}