changeset 21092:957556ba7b38

merge of '5440858761f5047ec1b899b68ea9fd9dc1e797d4' and '65bc667e49a619ad538ec2a2bef797371ebfeef7'
author Gabriel Schulhof <nix@go-nix.ca>
date Sat, 13 Oct 2007 17:46:15 +0000
parents 8e9d40defbc0 (diff) 28b11826cee4 (current diff)
children 7deceebc696e
files
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sat Oct 13 09:13:59 2007 +0000
+++ b/pidgin/gtkblist.c	Sat Oct 13 17:46:15 2007 +0000
@@ -5792,6 +5792,8 @@
 			GTK_STOCK_ADD, GTK_RESPONSE_OK,
 			NULL);
 
+	if (gtkblist)
+		gtk_window_set_transient_for(GTK_WINDOW(data->window), GTK_WINDOW(gtkblist->window));
 	gtk_dialog_set_default_response(GTK_DIALOG(data->window), GTK_RESPONSE_OK);
 	gtk_container_set_border_width(GTK_CONTAINER(data->window), PIDGIN_HIG_BOX_SPACE);
 	gtk_window_set_resizable(GTK_WINDOW(data->window), FALSE);
@@ -6174,6 +6176,8 @@
 		GTK_STOCK_ADD, GTK_RESPONSE_OK,
 		NULL);
 
+	if (gtkblist)
+		gtk_window_set_transient_for(GTK_WINDOW(data->window), GTK_WINDOW(gtkblist->window));
 	gtk_dialog_set_default_response(GTK_DIALOG(data->window), GTK_RESPONSE_OK);
 	gtk_container_set_border_width(GTK_CONTAINER(data->window), PIDGIN_HIG_BOX_SPACE);
 	gtk_window_set_resizable(GTK_WINDOW(data->window), FALSE);