[empathy] Fix race where UI sensitivity was being set before the AM was ready
- From: Danielle Madeley <davyd src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] Fix race where UI sensitivity was being set before the AM was ready
- Date: Tue, 10 Nov 2009 10:09:31 +0000 (UTC)
commit 27bf66610d8229978421fd9d0c0b0ddc7cded40f
Author: Danielle Madeley <danielle madeley collabora co uk>
Date: Tue Nov 10 08:20:54 2009 +1100
Fix race where UI sensitivity was being set before the AM was ready
src/empathy-main-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 4db232b..bf0cb47 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]