since: 3.0.0


open_local (
  PurpleXfer* self,
  gpointer user_data

Description [src]

Open a file locally for a file transfer.

The default class handler will open a file using standard library functions. If you connect to this signal, you should connect to PurpleXfer::query-local, PurpleXfer::read-local, PurpleXfer::write-local and PurpleXfer::data-not-sent as well.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since: 3.0.0

Return value

Type: gboolean

TRUE if the file was opened successfully, or FALSE otherwise, and the transfer should be cancelled (libpurple will cancel).