/* Notify the observers */
g_signal_emit (self, signals[ACCOUNT_INSERTED_SIGNAL], 0, account_name);
+ modest_platform_emit_account_created_signal (account_name);
/* if no default account has been defined yet, do so now */
default_account = modest_account_mgr_get_default_account (self);
/* Notify the observers */
g_signal_emit (self, signals[ACCOUNT_INSERTED_SIGNAL], 0, name);
+ modest_platform_emit_account_created_signal (name);
/* if no default account has been defined yet, do so now */
default_account = modest_account_mgr_get_default_account (self);
the keys, because otherwise a call to account_names
will retrieve also the deleted account */
g_signal_emit (G_OBJECT(self), signals[ACCOUNT_REMOVED_SIGNAL], 0, name);
+ modest_platform_emit_account_removed_signal (name);
return TRUE;
}
const gchar *key, ModestConfValueType list_type,
gboolean server_account)
{
- ModestAccountMgrPrivate *priv = MODEST_ACCOUNT_MGR_GET_PRIVATE (self);
+ ModestAccountMgrPrivate *priv = NULL;
const gchar *keyname;
GSList *retval;
gboolean found = FALSE;
g_return_val_if_fail (MODEST_IS_ACCOUNT_MGR (mgr), FALSE);
- account_names = modest_account_mgr_account_names (mgr, TRUE);
+ account_names = modest_account_mgr_account_names (mgr, FALSE);
for (node = account_names; node != NULL; node = g_slist_next (node)) {
ModestProtocolType current_protocol;