changeset 14664:f36ceb3f07db

[gaim-migrate @ 17410] Make sure that the ft window appears on-screen (on win32). committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 30 Sep 2006 20:28:22 +0000
parents 587268c9c6d7
children a9cc230acf0a
files gtk/gtkft.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkft.c	Sat Sep 30 20:09:28 2006 +0000
+++ b/gtk/gtkft.c	Sat Sep 30 20:28:22 2006 +0000
@@ -879,6 +879,11 @@
 	g_signal_connect(G_OBJECT(button), "clicked",
 					 G_CALLBACK(close_button_cb), dialog);
 
+#ifdef _WIN32
+	g_signal_connect(G_OBJECT(dialog->window), "show",
+		G_CALLBACK(gtkwgaim_ensure_onscreen), dialog->window);
+#endif
+
 	return dialog;
 }