[PATCH] Deterministically sort categories on the hub.
Brian C. Lane
bcl at redhat.com
Sat Jun 22 02:24:09 UTC 2013
On Fri, Jun 21, 2013 at 01:45:36PM -0400, Chris Lumens wrote:
> We were just doing string comparisons, which were only the same across
> languages because category names are marked with N_. Instead, give
> categories a numeric value and sort on that.
>
> I've preserved the current ordering on the hub with these new numbers.
> ---
> pyanaconda/ui/gui/categories/__init__.py | 8 ++++++--
> pyanaconda/ui/gui/categories/customization.py | 3 ++-
> pyanaconda/ui/gui/categories/localization.py | 3 ++-
> pyanaconda/ui/gui/categories/software.py | 3 ++-
> pyanaconda/ui/gui/categories/storage.py | 3 ++-
> pyanaconda/ui/gui/categories/user_settings.py | 5 +++--
> pyanaconda/ui/gui/hubs/__init__.py | 2 +-
> 7 files changed, 18 insertions(+), 9 deletions(-)
Ack
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130621/8665ca68/attachment.sig>
More information about the anaconda-patches
mailing list