This isn't an either/or situation, and it shouldn't divide us along party lines. I'm pretty sure we could (or should be able to) make smart gun laws and fight radical Islamic terrorism at the same time.
Not every tragedy has to divide us and resort us to childish name-calling. In fact, it should do the opposite, as it has for many--as evidenced by the outpouring of love, kind words, blood donations, etc. Regardless, this nonsense has to stop.