1099-div 2a Total Capital Gain Distributions - Can I use it to write off for stock losses

Hello,

Fidelity is reporting mutual fund yearly distribution on 1099-div (2a) field - its asking me to treat it as long term capital gains for taxes.  
Does this mean can I use this to write off some of the losses from my personal stock investments? Or capital gains reported in 1099-div (2a) are handled differently.

 

Thanks
Sudheer