From: Danielle Madeley Date: Mon, 9 Nov 2009 21:20:54 +0000 (+1100) Subject: Fix race where UI sensitivity was being set before the AM was ready X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=27bf66610d8229978421fd9d0c0b0ddc7cded40f Fix race where UI sensitivity was being set before the AM was ready --- diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 4db232b9..bf0cb471 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -1214,6 +1214,8 @@ account_manager_prepared_cb (GObject *source_object, window); } + main_window_update_status (window); + /* Disable the "Previous Conversations" menu entry if there is no account */ gtk_action_set_sensitive (window->view_history, g_list_length (accounts) > 0); @@ -1454,8 +1456,6 @@ empathy_main_window_show (void) EMPATHY_PREFS_UI_SHOW_AVATARS, window); - main_window_update_status (window); - return window->window; }