pidgin  2.13.0
About: Pidgin is a chat program (multi-protocol instant messaging client) which lets you log in to accounts on multiple chat networks simultaneously (old name "gaim").
  Fossies Dox: pidgin-2.13.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

gtkft.h File Reference
#include "ft.h"
Include dependency graph for gtkft.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _PidginXferDialog PidginXferDialog
 

Functions

GTK+ File Transfer Dialog API
PidginXferDialogpidgin_xfer_dialog_new (void)
 
void pidgin_xfer_dialog_destroy (PidginXferDialog *dialog)
 
void pidgin_xfer_dialog_show (PidginXferDialog *dialog)
 
void pidgin_xfer_dialog_hide (PidginXferDialog *dialog)
 
void pidgin_xfer_dialog_add_xfer (PidginXferDialog *dialog, PurpleXfer *xfer)
 
void pidgin_xfer_dialog_remove_xfer (PidginXferDialog *dialog, PurpleXfer *xfer)
 
void pidgin_xfer_dialog_cancel_xfer (PidginXferDialog *dialog, PurpleXfer *xfer)
 
void pidgin_xfer_dialog_update_xfer (PidginXferDialog *dialog, PurpleXfer *xfer)
 
GTK+ File Transfer API
void pidgin_xfers_init (void)
 
void pidgin_xfers_uninit (void)
 
void pidgin_set_xfer_dialog (PidginXferDialog *dialog)
 
PidginXferDialogpidgin_get_xfer_dialog (void)
 
PurpleXferUiOpspidgin_xfers_get_ui_ops (void)
 

Detailed Description

GTK+ File Transfer UI

Definition in file gtkft.h.

Typedef Documentation

◆ PidginXferDialog

A file transfer dialog.

The structure is opaque, as nobody should be touching anything inside of it.

Definition at line 37 of file gtkft.h.

Function Documentation

◆ pidgin_get_xfer_dialog()

PidginXferDialog* pidgin_get_xfer_dialog ( void  )

Returns pirgin's main file transfer dialog.

Returns
The main dialog.

Definition at line 1247 of file gtkft.c.

References xfer_dialog.

Referenced by pidgin_xfer_dialog_show().

Here is the caller graph for this function:

◆ pidgin_set_xfer_dialog()

void pidgin_set_xfer_dialog ( PidginXferDialog dialog)

Sets pidgin's main file transfer dialog.

Parameters
dialogThe main dialog.

Definition at line 1241 of file gtkft.c.

References pietray::dialog, and xfer_dialog.

Referenced by pidgin_xfer_dialog_show().

Here is the caller graph for this function:

◆ pidgin_xfer_dialog_add_xfer()

◆ pidgin_xfer_dialog_cancel_xfer()

void pidgin_xfer_dialog_cancel_xfer ( PidginXferDialog dialog,
PurpleXfer xfer 
)

Indicate in a file transfer dialog that a transfer was cancelled.

Parameters
dialogThe file transfer dialog.
xferThe file transfer that was cancelled.

Definition at line 952 of file gtkft.c.

References _(), COLUMN_REMAINING, COLUMN_STATUS, data, pietray::dialog, NULL, PIDGIN_STOCK_FILE_CANCELED, pidgin_xfer_dialog_remove_xfer(), PIDGINXFER, purple_xfer_get_status(), purple_xfer_is_canceled(), PURPLE_XFER_STATUS_CANCEL_LOCAL, status, update_buttons(), update_detailed_info(), and update_title_progress().

Referenced by pidgin_xfer_cancel_local(), and pidgin_xfer_cancel_remote().

Here is the caller graph for this function:

◆ pidgin_xfer_dialog_destroy()

void pidgin_xfer_dialog_destroy ( PidginXferDialog dialog)

Destroys a file transfer dialog.

Parameters
dialogThe file transfer dialog.

Definition at line 820 of file gtkft.c.

References pietray::dialog, NULL, and purple_notify_close_with_handle().

Referenced by pidgin_xfers_uninit().

Here is the caller graph for this function:

◆ pidgin_xfer_dialog_hide()

void pidgin_xfer_dialog_hide ( PidginXferDialog dialog)

Hides the file transfer dialog.

Parameters
dialogThe file transfer dialog to hide.

Definition at line 851 of file gtkft.c.

References pietray::dialog, NULL, and purple_notify_close_with_handle().

Referenced by close_button_cb(), delete_win_cb(), and pidgin_xfer_dialog_update_xfer().

Here is the caller graph for this function:

◆ pidgin_xfer_dialog_new()

◆ pidgin_xfer_dialog_remove_xfer()

void pidgin_xfer_dialog_remove_xfer ( PidginXferDialog dialog,
PurpleXfer xfer 
)

Removes a file transfer from the dialog.

Parameters
dialogThe file transfer dialog.
xferThe file transfer.

Definition at line 923 of file gtkft.c.

References data, pietray::dialog, ensure_row_selected(), FALSE, NULL, PIDGINXFER, purple_xfer_unref(), and update_title_progress().

Referenced by pidgin_xfer_dialog_cancel_xfer(), pidgin_xfer_dialog_update_xfer(), and remove_button_cb().

Here is the caller graph for this function:

◆ pidgin_xfer_dialog_show()

void pidgin_xfer_dialog_show ( PidginXferDialog dialog)

Displays the file transfer dialog given. If dialog is NULL, displays the default dialog, creating one if necessary

Parameters
dialogThe file transfer dialog to show.

Definition at line 832 of file gtkft.c.

References pietray::dialog, NULL, pidgin_get_xfer_dialog(), pidgin_set_xfer_dialog(), pidgin_xfer_dialog_new(), and _PidginXferDialog::window.

Referenced by pidgin_xfer_dialog_add_xfer().

Here is the caller graph for this function:

◆ pidgin_xfer_dialog_update_xfer()

void pidgin_xfer_dialog_update_xfer ( PidginXferDialog dialog,
PurpleXfer xfer 
)

◆ pidgin_xfers_get_ui_ops()

PurpleXferUiOps* pidgin_xfers_get_ui_ops ( void  )

Returns the UI operations structure for the GTK+ file transfer UI.

Returns
The GTK+ file transfer UI operations structure.

Definition at line 1253 of file gtkft.c.

References ops.

Referenced by pidgin_ui_init().

Here is the caller graph for this function:

◆ pidgin_xfers_init()

void pidgin_xfers_init ( void  )

Initializes the GTK+ file transfer system.

Definition at line 1226 of file gtkft.c.

References FALSE, PIDGIN_PREFS_ROOT, purple_prefs_add_bool(), purple_prefs_add_none(), and TRUE.

Referenced by pidgin_ui_init().

Here is the caller graph for this function:

◆ pidgin_xfers_uninit()

void pidgin_xfers_uninit ( void  )

Uninitializes the GTK+ file transfer system.

Definition at line 1234 of file gtkft.c.

References NULL, pidgin_xfer_dialog_destroy(), and xfer_dialog.

Referenced by pidgin_quit().

Here is the caller graph for this function: