Taken from here:
http://sourceforge.net/mailarchive/f...ewmonth=200502
To disable file transfer you must compile GAIM as described in the official
site with two minor changes in ft.c and gtkft.c.
The files reside in src/.
In ft.c remove the following lines around line 328:
--------------------------------------------------------------------------------
---------------
if (gaim_xfer_get_type(xfer) == GAIM_XFER_RECEIVE) {
if (gaim_xfer_get_filename(xfer) ||
gaim_xfer_get_status(xfer) == GAIM_XFER_STATUS_ACCEPTED)
gaim_xfer_ask_recv(xfer);
else
gaim_xfer_ask_accept(xfer);
} else
gaim_xfer_choose_file(xfer);
--------------------------------------------------------------------------------
-----------
In gtkft.c remove the following lines around line 794:
____________________________________________
if (dialog == NULL) {
dialog = gaim_gtkxfer_dialog_new();
gaim_set_gtkxfer_dialog(dialog);
}
gaim_gtkxfer_dialog_show(dialog);
____________________________________________
Its a silly solution but It worked for me. The Icon of File Transfer is still
visible but cliking on it result in nothing. Also if another IM client tries
to send a file to this Hacked GAIM, nothing apears in the GAIM windows.
I am not a programmer just a curios guy, so maybe sombody have another mor decent
solution to the problem.
It will be great if in the next release of GAIM, we have an option in "configure"
to disable File Transfer.