After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 115682 - Optional columns in the Group and Header panes
Optional columns in the Group and Header panes
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
0.14.0
Other Linux
: Normal enhancement
: 1.0
Assigned To: Charles Kerr
Pan QA Team
Depends on: 169970
Blocks:
 
 
Reported: 2003-06-21 18:47 UTC by Nick Pinney
Modified: 2006-05-15 21:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nick Pinney 2003-06-21 18:47:35 UTC
It would be nice to be able to select which columns in the Groups and
Headders panes are shown and hide the rest.  Eg, if desired have the Groups
view only show the 'Groups' and 'Unread' columns.

  It looks like it would be fairly easy to implement this for the Headders
pane and probably also for the Groups pane with a bit of modification; I've
managed a crude hack to do this on my system:

  For the Headder's pane I wanted to not display the Score and Lines
columns.  So, I set those two columns to be the last 2 to be displayed and
modified the ctree_new line (~2656) in pan/articlelist.c to display two
fewer columns:

Pan.article_ctree = w = gtk_ctree_new_with_titles
                            (articlelist_column_qty -2,  i, titles);

  As a quick and somewhat nasty hack, the Preferences dialog could have an
option for how namy columns to not display; a nicer implementation would
add a pseudo-item to the Column Layout selection of '- Not displayed -' or
similar to act as a cut between the desired and undesired columns.

  I used the same hack for the groups pane to lop off the last couple of
columns; unfortunately there is no option for what order the columns are
display in, so I was only able to remove the trailing fields that I didn't
want.  It would be desirable to be able to select what columns are shown
and in what order for this column view as well, but it would be a little
more involved to implement.
Comment 1 Charles Kerr 2003-06-27 01:28:27 UTC
The header pane already has code in for this, to an extent;
IMO this could be done fairly soon.

The group pane IMO is not as urgent.
Comment 2 Charles Kerr 2003-08-29 22:42:48 UTC
Mass-bumping of 0.14.2 features to 0.14.3 to make way for an emergency 0.14.2
release.
Comment 3 Charles Kerr 2006-05-15 21:28:48 UTC
"fairly soon"? :)

Anyway, the group pane part of this is obsolete in 0.9x, which only has
one group pane column.  The header pane columns are now toggle-able and
reorder-able.