# HG changeset patch # User Gabriel Schulhof # Date 1192266490 0 # Node ID 7ae2ce6f405eea4abb5629585b601d9b8076a445 # Parent 8c9aad9479c08be59c42beabe2bcb74960e2a9ff Forgot Add Buddy and Add Chat dialogs diff -r 8c9aad9479c0 -r 7ae2ce6f405e pidgin/gtkblist.c --- a/pidgin/gtkblist.c Wed Oct 10 22:57:51 2007 +0000 +++ b/pidgin/gtkblist.c Sat Oct 13 09:08:10 2007 +0000 @@ -5781,7 +5781,7 @@ gtkblist = PIDGIN_BLIST(purple_get_blist()); data->window = gtk_dialog_new_with_buttons(_("Add Buddy"), - NULL, GTK_DIALOG_NO_SEPARATOR, + gtkblist ? gtkblist->window : NULL, GTK_DIALOG_NO_SEPARATOR, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_ADD, GTK_RESPONSE_OK, NULL); @@ -6163,7 +6163,7 @@ data->sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); data->window = gtk_dialog_new_with_buttons(_("Add Chat"), - NULL, GTK_DIALOG_NO_SEPARATOR, + gtkblist ? gtkblist->window : NULL, GTK_DIALOG_NO_SEPARATOR, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_ADD, GTK_RESPONSE_OK, NULL);