Commit eb3da179 authored by Guillaume Desmottes's avatar Guillaume Desmottes

accounts_dialog_cms_prepare_cb: don't update the settings if we are already preparing one

This may lead to ignoring the existing setting if it's a slow one to prepare
(as Haze for example). (#647641)
parent 7c8d031f
......@@ -2021,7 +2021,9 @@ accounts_dialog_cms_prepare_cb (GObject *source,
if (!empathy_connection_managers_prepare_finish (cms, result, NULL))
goto out;
accounts_dialog_update_settings (dialog, NULL);
/* No need to update the settings if we are already preparing one */
if (priv->settings_ready == NULL)
accounts_dialog_update_settings (dialog, NULL);
if (priv->initial_selection != NULL)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment