diff options
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index 52efbce01..112673d4d 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -1311,6 +1311,10 @@ presence_changed_cb (TpAccountManager *manager, if (priv->destroyed) return; + if (priv->apply_button == NULL) + /* This button doesn't exist in 'simple' mode */ + return; + if (state > TP_CONNECTION_PRESENCE_TYPE_OFFLINE) { /* We are online, display a Login button */ |