I've installed Code::Blocks on Linux Mint 17.1 KDE. Create new GTK+ Project: there's no "main.c" in resources list (snapshot1) but still compile and run without any problem (snapshot2). The files are still there (snapshot3) but they just don't appear in resources list. I tried another sample project or add files but it's still nothing there :(
[attachment deleted by admin]
Why do you expect to see main.c in Resources?
By design they are shown in the first tab named Projects.
Damn, my bad, didn't see this :o