summaryrefslogtreecommitdiff
path: root/src/trg-files-model-common.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-08 00:52:56 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-08 00:52:56 +0000
commite1b13312f975f38d3d7437f28299912eff6947e0 (patch)
tree563d1d7937ce87915e2055d9b2f1dae37d2b9b71 /src/trg-files-model-common.h
parent0a1fa495bd2186c2004fbc0f8977fe52a5f82168 (diff)
fix the performance problems with the torrent add dialog on torrents with many files/dirs. the parent size updates just walks up parents rather than a full foreach, and the inserts try to use the previous update to speed up finding/creating the directories. I'll probably do something similar to the main files treeview.
Diffstat (limited to 'src/trg-files-model-common.h')
-rw-r--r--src/trg-files-model-common.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/trg-files-model-common.h b/src/trg-files-model-common.h
index 76eaecc..e8f52f2 100644
--- a/src/trg-files-model-common.h
+++ b/src/trg-files-model-common.h
@@ -20,13 +20,13 @@
#ifndef TRG_FILES_TREE_MODEL_COMMON_H_
#define TRG_FILES_TREE_MODEL_COMMON_H_
-void trg_files_tree_model_propogateChangeUp(GtkTreeModel * model,
- GtkTreeIter * iter,
- gint column, gint new_value);
-void trg_files_tree_model_setSubtree(GtkTreeModel * model,
- GtkTreePath * path,
- GtkTreeIter * iter, gint column,
- gint new_value);
+void trg_files_tree_model_propogate_change_up(GtkTreeModel * model,
+ GtkTreeIter * iter,
+ gint column, gint new_value);
+void trg_files_tree_model_set_subtree(GtkTreeModel * model,
+ GtkTreePath * path,
+ GtkTreeIter * iter, gint column,
+ gint new_value);
void trg_files_tree_model_set_priority(GtkTreeView * tv, gint column,
gint new_value);
void trg_files_model_set_wanted(GtkTreeView * tv, gint column,