NetSurf
|
Go to the source code of this file.
Functions | |
nserror | nsgtk_download_init (void) |
Initialise download window ready for use. More... | |
void | nsgtk_download_destroy (void) |
Destroy download window. More... | |
bool | nsgtk_check_for_downloads (GtkWindow *parent) |
Check with user if download is in progress they want to complete. More... | |
void | nsgtk_download_show (GtkWindow *parent) |
Show the download window. More... | |
Variables | |
struct gui_download_table * | nsgtk_download_table |
download operation table for gtk More... | |
bool nsgtk_check_for_downloads | ( | GtkWindow * | parent | ) |
Check with user if download is in progress they want to complete.
parent | The parent window for the prompt dialog. |
Definition at line 1033 of file download.c.
References dialog, dl_ctx, messages_get(), download_window_ctx::num_active, and parent.
Referenced by nsgtk_scaffolding_destroy_all(), and scaffolding_window_delete_event().
void nsgtk_download_destroy | ( | void | ) |
Destroy download window.
Definition at line 1026 of file download.c.
References nsgtk_download_do(), and nsgtk_download_store_cancel_item().
Referenced by nsgtk_finalise().
nserror nsgtk_download_init | ( | void | ) |
Initialise download window ready for use.
Definition at line 934 of file download.c.
References download_window_ctx::cancel, download_window_ctx::clear, dl_ctx, NSERROR_OK, nsgtk_builder_new_from_resname(), nsgtk_download_do(), nsgtk_download_hide(), NSGTK_DOWNLOAD_N_COLUMNS, nsgtk_download_sensitivity_evaluate(), nsgtk_download_sort(), NSGTK_DOWNLOAD_STATUS, nsgtk_download_store_cancel_item(), nsgtk_download_store_clear_item(), nsgtk_download_tree_view_new(), nsgtk_download_tree_view_row_activated(), NSLOG, download_window_ctx::parent, download_window_ctx::pause, download_window_ctx::progress, download_window_ctx::resume, download_window_ctx::selection, download_window_ctx::store, download_window_ctx::timer, download_window_ctx::tree, and download_window_ctx::window.
Referenced by nsgtk_setup().
void nsgtk_download_show | ( | GtkWindow * | parent | ) |
Show the download window.
parent | The parent window to use for the shown window |
Definition at line 1069 of file download.c.
References dl_ctx, download_window_ctx::parent, and download_window_ctx::window.
Referenced by downloads_button_clicked_cb(), and gui_download_window_create().
|
extern |