changeset 15803:ca5d548bd88d

Move the tooltip window before showing the tooltip to avoid a transient annoying window
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 17 Mar 2007 16:50:35 +0000
parents 874d55d836bc
children 87997f44e75e
files pidgin/gtkimhtml.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c	Sat Mar 17 16:49:03 2007 +0000
+++ b/pidgin/gtkimhtml.c	Sat Mar 17 16:50:35 2007 +0000
@@ -477,8 +477,8 @@
 						pango_font_metrics_get_descent(font_metrics));
 
 	gtk_widget_set_size_request (imhtml->tip_window, w, h);
+	gtk_window_move (GTK_WINDOW(imhtml->tip_window), x, y);
 	gtk_widget_show (imhtml->tip_window);
-	gtk_window_move (GTK_WINDOW(imhtml->tip_window), x, y);
 
 	pango_font_metrics_unref(font_metrics);
 	g_object_unref(layout);