[empathy] chat_window_detach_hook: move the window *after* showing it



commit 6fab1a3f3a374bbb914898ce7ddb7b5d80b09cf8
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Aug 30 13:22:13 2010 +0200

    chat_window_detach_hook: move the window *after* showing it
    
    Showing the window fire the "map" signal which is catched in empathy-geometry
    to move the window to its saved position. (#608140)

 src/empathy-chat-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index e7e5f85..dd87236 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1453,8 +1453,8 @@ chat_window_detach_hook (GtkNotebook *source,
 
 	empathy_chat_window_move_chat (window, new_window, chat);
 
-	gtk_window_move (GTK_WINDOW (priv->dialog), x, y);
 	gtk_widget_show (priv->dialog);
+	gtk_window_move (GTK_WINDOW (priv->dialog), x, y);
 
 	return NULL;
 }



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