Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49620 - in /trunk/packager: package/yast2-packager.changes src/clients/inst_productsources.ycp
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Mon, 04 Aug 2008 09:53:23 -0000
  • Message-id: <20080804095323.8424131077@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Mon Aug 4 11:53:23 2008
New Revision: 49620

URL: http://svn.opensuse.org/viewcvs/yast?rev=49620&view=rev
Log:
- Community Repositories: listing recommended repositories first
then sorting alphabetically (bnc #399998).


Modified:
trunk/packager/package/yast2-packager.changes
trunk/packager/src/clients/inst_productsources.ycp

Modified: trunk/packager/package/yast2-packager.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=49620&r1=49619&r2=49620&view=diff
==============================================================================
--- trunk/packager/package/yast2-packager.changes (original)
+++ trunk/packager/package/yast2-packager.changes Mon Aug 4 11:53:23 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Mon Aug 4 11:51:28 CEST 2008 - locilka@xxxxxxx
+
+- Community Repositories: listing recommended repositories first
+ then sorting alphabetically (bnc #399998).
+
+-------------------------------------------------------------------
Wed Jul 30 09:36:40 CEST 2008 - lslezak@xxxxxxx

- display autorefresh column in the repository config module

Modified: trunk/packager/src/clients/inst_productsources.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/inst_productsources.ycp?rev=49620&r1=49619&r2=49620&view=diff
==============================================================================
--- trunk/packager/src/clients/inst_productsources.ycp (original)
+++ trunk/packager/src/clients/inst_productsources.ycp Mon Aug 4 11:53:23 2008
@@ -922,12 +922,12 @@
// preselect recommended repositories...
// always fill-up this list -- later used for sorting using
'recommended' tag
// Bugzilla #297628
- if (Stage::initial()) {
+ //if (Stage::initial()) {
recommended = one_repo["recommended"]:false;
if (recommended) {
recommended_items = add (recommended_items, repo_id);
}
- }
+ //}

// // was 'current' and remains 'current'
// if (repo_id == current_item)
@@ -964,11 +964,11 @@
}

// In the initial stage, repos are additionally sorted whether they are
recommended or not
- if (Stage::initial()) {
+// if (Stage::initial()) {
items = sort (term one_item_a, term one_item_b, items, ``(
contains (recommended_items, one_item_a[0,0]:"") > contains
(recommended_items, one_item_b[0,0]:"")
));
- }
+// }

UI::ChangeWidget (`id ("addon_repos"), `Items, items);


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages