[Aptitude-devel] [PATCH 4 of 4] Use EditColumns column itself as Expander column. This will both cleanup the
Obey Arthur Liu
arthur at milliways.fr
Fri Dec 26 13:35:40 UTC 2008
Luca Bruno a écrit :
> # HG changeset patch
> # User Luca Bruno <lethalman88 at gmail.com>
> # Date 1230294303 -3600
> # Node ID 506cb036cd55fb703cc19de42f15ef39b5a27bd7
> # Parent 4f97dfb9045fcef4dd668bc2833fd0c0e2d6736c
> Use EditColumns column itself as Expander column. This will both cleanup the
> code and remove extra unused space in treeviews (like Dependencies).
> * src/gtk/info.cc (InfoTab::disp_package): removed expander
> references
> * src/gtk/entityview.cc
> (EntityView::EditColumnsDialog::hidden_property, set_hidden,
> get_hidden): added
> (EntityView::EditColumnsDialog::add_column_to_list): return if col
> has been hidden
> (EntityView::column_drop_handler): enforce "..." column to be the
> first
> (EntityView::init): removed Expander column, hide EditColumns in the
> columns editor for real
> (EntityView::set_model): cleaned up has_expandable_rows trick
>
> * src/gtk/entityview.h (EntityView::get_expander_column): removed
> (EntityView::EditColumns): column added
>
Thank you for this string of patches. It's a very good thing to have
more eyeballs on this piece of code.
Arthur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20081226/7c48a2f2/attachment.pgp
More information about the Aptitude-devel
mailing list