From 7bc8fe632f29a875659f223ad1e9aa035c56f46c Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Wed, 30 Nov 2011 18:54:29 +0000 Subject: add some comments at the top of some files, also add a timeout of 20 seconds for curl requests --- src/trg-tree-view.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/trg-tree-view.c') 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 }; -- cgit v1.2.3