Looks good to me now.
Padraig
On 03/02/09 11:35, Michal Pryc wrote:
Padraig,
After discussing with Padraig offline I do know that the bug existed
in the posted webrev.
New webrev:
http://cr.opensolaris.org/~migi/6973_7019_7020_top_level_categories_v1/
The problem was while loading from the cache toplevel categories were
disabled. The toplevel needs to be cached as well as proposed in the
webrev.
best
Michal Pryc
Michal Pryc wrote:
Padraig,
The don't. At the beginning all the toplevel categories are grayed,
but "All Categories", later in the creation of the relations
pkg-category-toplevel we are ungraying the ones that do have some
relations. This is for each repository either when loading from cache
or not from the cache upon clicking switch repository combobox.
http://cr.opensolaris.org/~migi/6973_7019_7020_top_level_categories/src/packagemanager.py.wdiff.html
Lines 964 - 977 - the initial state is grayed.
Line 2406 - ungraying the one that does have relation toplevel-category
best
Michal
Padraig O'Briain wrote:
When toplevel categories are grayed out how do they become ungrayed?
Padraig
On 03/02/09 09:32, Michal Pryc wrote:
Hello,
Webrev posted at:
http://cr.opensolaris.org/~migi/6973_7019_7020_top_level_categories
Bug:
6973 Initial Category:
- Set Top Level Category to Applications and Sub Category to All
- Top Level Categories All entry needs to change to
All <Top Level Category>, except All Categories, leave at All
7019 The first package in the category is not shown
If the category contains X packages, only the last X-1 are shown.
This makes some categories empty, as they consist only of one
package.
7020 Gray out empty top level categories.
If the top level category is empty, then it should be not
selectable.
best
Michal
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss