[empathy/gnome-2-30] chat_window_detach_hook: move the window *after* showing it



commit 810b5925c7130b6fc3d655a83a3ffc57debf9bf4
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 3129623..6b9d7fa 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1357,8 +1357,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]