changeset 20962:999a91ba653f

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
author Mark Doliner <mark@kingant.net>
date Tue, 16 Oct 2007 06:54:55 +0000
parents 4a8366502f01
children dbbe341b5283
files pidgin/gtkft.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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));
 	}
 }