~ubuntu-branches/ubuntu/precise/empathy/precise

« back to all changes in this revision

Viewing changes to libempathy/empathy-idle.c

Tags: upstream-0.21.90
ImportĀ upstreamĀ versionĀ 0.21.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
345
345
        priv = GET_PRIV (idle);
346
346
 
347
347
        if (!priv->status) {
348
 
                return empathy_presence_state_get_default_status (priv->state);
 
348
                return empathy_presence_get_default_message (priv->state);
349
349
        }
350
350
 
351
351
        return priv->status;
407
407
        }
408
408
 
409
409
        /* Do not set translated default messages */
410
 
        default_status = empathy_presence_state_get_default_status (state);
 
410
        default_status = empathy_presence_get_default_message (state);
411
411
        if (status && strcmp (status, default_status) == 0) {
412
412
                status = NULL;
413
413
        }