Changeset 1703

Show
Ignore:
Timestamp:
03/05/07 21:43:53
Author:
pvanhoof
Message:

Bugfix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libtinymail-camel/tny-camel-folder.c

    r1700 r1703  
    650650        priv->store = (CamelStore*) _tny_camel_account_get_service (TNY_CAMEL_ACCOUNT (priv->account)); 
    651651 
    652         if (!priv->store || !CAMEL_IS_STORE (priv->store)) 
    653                 g_error ("Trying to create folder out of invalid account"); 
     652        /* 
     653                This is incorrect! TnyTransportAccount's don't need a service to be correct 
     654 
     655                 if (!priv->store || !CAMEL_IS_STORE (priv->store)) 
     656                g_warning ("Trying to create folder out of invalid account"); */ 
    654657 
    655658        return; 
  • trunk/tests/shared/account-store.c

    r1544 r1703  
    5151per_account_get_pass_func (TnyAccount *account, const gchar *prompt, gboolean *cancel) 
    5252{ 
    53         return g_strdup ("tnytest"); 
     53        if (strstr (tny_account_get_name (account), "SMTP")) 
     54                return g_strdup ("unittest"); 
     55        else 
     56                return g_strdup ("tnytest"); 
    5457} 
    5558 
     
    5760per_account_forget_pass_func (TnyAccount *account) 
    5861{ 
    59         g_print ("Invalid test account\n"); 
     62        g_print ("Invalid test account (password incorrect)\n"); 
    6063        return; 
    6164}