Mercurial > pidgin
diff gtk/gtkconv.c @ 14574:333989477bcd
[gaim-migrate @ 17298]
On win32, ensure that conversation windows are initially put in a sane place (instead of just [0,0]). This can easily be extended to any other problematic windows. I should have done this a long time ago to prevent countless bug reports.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 17 Sep 2006 23:13:55 +0000 |
parents | 82b59abcaee4 |
children | ac6120e2e27c |
line wrap: on
line diff
--- a/gtk/gtkconv.c Sun Sep 17 22:43:01 2006 +0000 +++ b/gtk/gtkconv.c Sun Sep 17 23:13:55 2006 +0000 @@ -5550,7 +5550,6 @@ (gaim_blist_find_chat(account, gaim_conversation_get_name(conv)) != NULL)); } - } else { /* Account is offline */ /* Or it's a chat that we've left. */ @@ -7503,6 +7502,11 @@ gtk_widget_show(testidea); +#ifdef _WIN32 + g_signal_connect(G_OBJECT(win->window), "show", + G_CALLBACK(gtkwgaim_ensure_onscreen), win->window); +#endif + return win; }