From 27bf66610d8229978421fd9d0c0b0ddc7cded40f Mon Sep 17 00:00:00 2001 From: Danielle Madeley Date: Tue, 10 Nov 2009 08:20:54 +1100 Subject: [PATCH] Fix race where UI sensitivity was being set before the AM was ready --- src/empathy-main-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2