aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2009-11-10 05:20:54 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2009-11-10 05:25:20 +0800
commit27bf66610d8229978421fd9d0c0b0ddc7cded40f (patch)
treef28b741d8f9dcae3a0222ee60929403b898b3426
parent920f6e2d9865b72baf76bff3ac26c6a26e260a03 (diff)
downloadgsoc2013-empathy-27bf66610d8229978421fd9d0c0b0ddc7cded40f.tar
gsoc2013-empathy-27bf66610d8229978421fd9d0c0b0ddc7cded40f.tar.gz
gsoc2013-empathy-27bf66610d8229978421fd9d0c0b0ddc7cded40f.tar.bz2
gsoc2013-empathy-27bf66610d8229978421fd9d0c0b0ddc7cded40f.tar.lz
gsoc2013-empathy-27bf66610d8229978421fd9d0c0b0ddc7cded40f.tar.xz
gsoc2013-empathy-27bf66610d8229978421fd9d0c0b0ddc7cded40f.tar.zst
gsoc2013-empathy-27bf66610d8229978421fd9d0c0b0ddc7cded40f.zip
Fix race where UI sensitivity was being set before the AM was ready
-rw-r--r--src/empathy-main-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 4db232b97..bf0cb471b 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;
}