# HG changeset patch # User Richard Laager # Date 1142902258 0 # Node ID 1685dcd6b3a59308f02ae70a90ccbd0e02c65deb # Parent 95f4372e63aa6fc3baafd9ccd48444d96d9a6673 [gaim-migrate @ 15911] When you have specified an existing file as the target of a file transfer, the dialog confirming the overwrite should have buttons that make the actions clear. This is more HIG compliant, requested in a feature request, and I think it's a good idea. committer: Tailor Script diff -r 95f4372e63aa -r 1685dcd6b3a5 src/gtkrequest.c --- a/src/gtkrequest.c Tue Mar 21 00:47:33 2006 +0000 +++ b/src/gtkrequest.c Tue Mar 21 00:50:58 2006 +0000 @@ -1464,10 +1464,10 @@ if ((data->u.file.savedialog == TRUE) && (g_file_test(data->u.file.name, G_FILE_TEST_EXISTS))) { - gaim_request_yes_no(data, NULL, _("That file already exists"), - _("Would you like to overwrite it?"), 0, data, - G_CALLBACK(file_yes_no_cb), - G_CALLBACK(file_yes_no_cb)); + gaim_request_action(data, NULL, _("That file already exists"), + _("Would you like to overwrite it?"), 0, data, 2, + _("Overwrite"), G_CALLBACK(file_yes_no_cb), + _("Choose New Name"), G_CALLBACK(file_yes_no_cb)); } else file_yes_no_cb(data, 1); }