Statistics are kept by _FILENAME_ and file size, not by actual path, so two files with the same name and size will be counted in the same bin.
I dont see this as a limitation because the user wouldn't be able to differentiate the files anyway. This could be extended to keep the entire path to each file and optionally show the entire path, but..
|
Data Structures |
| struct | upload_data |
Functions |
| gboolean | on_button_press_event (GtkWidget *unused_widget, GdkEventButton *event, gpointer unused_udata) |
| | Private callbacks.
|
| void | cell_renderer_func (GtkTreeViewColumn *column, GtkCellRenderer *cell, GtkTreeModel *model, GtkTreeIter *iter, gpointer udata) |
| void | add_column (GtkTreeView *tv, gint column_id, const gchar *title, gfloat xalign, GtkTreeIterCompareFunc sortfunc, GtkTreeCellDataFunc cell_data_func) |
| | Add a column to the GtkTreeView.
|
| upload_data * | upload_stats_gui_find (const struct ul_stats *us) |
| | Find an ul_stats structure associated with the given name and size.
|
| upload_data * | get_upload_data (GtkTreeModel *model, GtkTreeIter *iter) |
| gint | upload_stats_gui_cmp_filename (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer unused_udata) |
| gint | upload_stats_gui_cmp_size (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer unused_udata) |
| gint | upload_stats_gui_cmp_norm (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer unused_udata) |
| gint | upload_stats_gui_cmp_attempts (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer unused_udata) |
| gint | upload_stats_gui_cmp_complete (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer unused_udata) |
| void | upload_stats_gui_init_intern (gboolean intern) |
| | Initialize the upload statistics GUI.
|
| void | upload_stats_gui_add (const struct ul_stats *us) |
| | Add a new upload stats row to the model.
|
| void | upload_stats_gui_init (void) |
| void | upload_stats_gui_update (const struct ul_stats *us) |
| | Update the visible statistics for a given file.
|
| gboolean | free_upload_data (gpointer unused_key, gpointer value, gpointer unused_data) |
| void | upload_stats_gui_clear_all (void) |
| | Clear all upload statistic entries from the GtkTreeModel.
|
| void | upload_stats_gui_shutdown (void) |
Variables |
| GtkTreeView * | upload_stats_treeview |
| GtkWidget * | popup_upload_stats |
| GHashTable * | ht_uploads |