[empathy/gnome-2-34] empathy_chat_window_present_chat: no need to call show_all on the window



commit d30fab8f713da3ea3cd98926fa84695ede0f1472
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Mar 30 13:46:48 2011 +0200

    empathy_chat_window_present_chat: no need to call show_all on the window
    
    empathy_window_present_with_time() called later in this function will do it
    for us.
    
    This has the nice side effect of avoid to display the window before resizing
    it and do making it look bad (#638951).

 src/empathy-chat-window.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 0674283..cb9de9b 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -2377,7 +2377,6 @@ empathy_chat_window_present_chat (EmpathyChat *chat,
 		window = empathy_chat_window_get_default (empathy_chat_is_room (chat));
 		if (!window) {
 			window = empathy_chat_window_new ();
-			gtk_widget_show_all (GET_PRIV (window)->dialog);
 		}
 
 		empathy_chat_window_add_chat (window, chat);



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