summaryrefslogtreecommitdiff
path: root/src/trg-tree-view.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-11-30 18:54:29 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-11-30 18:54:29 +0000
commit7bc8fe632f29a875659f223ad1e9aa035c56f46c (patch)
tree8a13af1000337feade93762295b213283b03d089 /src/trg-tree-view.c
parent6df6b7c2a2383d01a6fc20e597f48b0168ccfeb5 (diff)
add some comments at the top of some files, also add a timeout of 20 seconds for curl requests
Diffstat (limited to 'src/trg-tree-view.c')
-rw-r--r--src/trg-tree-view.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/trg-tree-view.c b/src/trg-tree-view.c
index 069464f..4f091ea 100644
--- a/src/trg-tree-view.c
+++ b/src/trg-tree-view.c
@@ -32,6 +32,17 @@
#include "trg-cell-renderer-priority.h"
#include "trg-cell-renderer-numgteqthan.h"
+/* A subclass of GtkTreeView which allows the user to change column visibility
+ * by right clicking on any column for a menu to hide the clicked column, or
+ * insert any hidden column after.
+ *
+ * This class persists these choices to TrgConf, and restores them when it is
+ * initialised. Column widths are also saved/restored.
+ *
+ * All the columns must be preregistered so it knows what model column,
+ * renderers etc to use if it should be created, and what columns are available.
+ */
+
enum {
PROP_0, PROP_PREFS
};