[empathy] also use select_account_once_ready when the window already exists



commit 5e5c683936f90d3cdc8028827b3d45d71e7dc4a3
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Jul 13 15:44:08 2010 +0200

    also use select_account_once_ready when the window already exists

 libempathy-gtk/empathy-log-window.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index 35e554d..8aa2a61 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -223,8 +223,7 @@ empathy_log_window_show (TpAccount  *account,
 
 		if (account && chat_id) {
 			gtk_notebook_set_current_page (GTK_NOTEBOOK (log_window->notebook), 1);
-			log_window_chats_set_selected (log_window, account,
-						       chat_id, is_chatroom);
+			select_account_once_ready (log_window, account, chat_id, is_chatroom);
 		}
 
 		return log_window->window;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]