Remove a preference option

The company I work for prohibits saving chat history. I’d really like to use Spark, so I am searching all over the internet trying to find a way. I am not really a programmer, though I have dabbled a tiny bit. So I installed Eclipse and Subclipse, and I managed to check out the source code, but I am not finding anywhere a way to remove the entire option for chat history.

Not talking about just having it unchecked by default, I want to either have it be disabled (greyed out to users) or removed entirely from the Spark preferences dialog. If someone could point me to the file in the source code where I can disable that radio button, I would be grateful.

Anyone?

To disable the chat history quick and dirty and grey out the radio buttons, you can edit two files.

In the patch i made, you can see the changes
chathistoryDisable.patch.zip (801 Bytes)