I am not sure I understand your second comment, .c files do open with gedit if no IDE is installed which is a sensible fallback. Opening a (presumably) known file format in Firefox isn't, OTOH.
I am not sure I understand your second comment, .c files do open with gedit if no IDE is installed which is a sensible fallback. Opening a (presumably) known file format in Firefox isn't, OTOH.