# HG changeset patch # User Mark Doliner # Date 1192517695 0 # Node ID 999a91ba653fe9c423ac151076346c79aee1c8a3 # Parent 4a8366502f01bdebe5b27bf2b0725d1ac600c5b0 Use gtk_window_present() instead of gtk_widget_show() when showing the file transfer dialog. The causes the window to be raised if it's below other stuff. This function is called in two places 1. When the user clicks on Tools-->File Transfers in the buddy list. This is the interaction I'm trying to improve. 2. When a file transfer is added to the dialog. It seems like a good idea to present the window when a file transfer is added to it... but there may be scenarios where this is really really annoying. If anyone thinks of any then feel free to revert this change diff -r 4a8366502f01 -r 999a91ba653f pidgin/gtkft.c --- a/pidgin/gtkft.c Tue Oct 16 06:40:06 2007 +0000 +++ b/pidgin/gtkft.c Tue Oct 16 06:54:55 2007 +0000 @@ -912,7 +912,7 @@ gtk_widget_show(tmp->window); } else { - gtk_widget_show(dialog->window); + gtk_window_present(GTK_WINDOW(dialog->window)); } }