Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54535 - in /branches/SuSE-Code-11-Branch/firewall: VERSION package/yast2-firewall.changes src/subdialogs.ycp src/uifunctions.ycp
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Mon, 12 Jan 2009 09:29:20 -0000
  • Message-id: <E1LMJ6m-0004go-PI@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Mon Jan 12 10:29:19 2009
New Revision: 54535

URL: http://svn.opensuse.org/viewcvs/yast?rev=54535&view=rev
Log:
- A better sorting for allowed services and services to allow
(bnc #461790).
- 2.17.7


Modified:
branches/SuSE-Code-11-Branch/firewall/VERSION
branches/SuSE-Code-11-Branch/firewall/package/yast2-firewall.changes
branches/SuSE-Code-11-Branch/firewall/src/subdialogs.ycp
branches/SuSE-Code-11-Branch/firewall/src/uifunctions.ycp

Modified: branches/SuSE-Code-11-Branch/firewall/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/firewall/VERSION?rev=54535&r1=54534&r2=54535&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/firewall/VERSION (original)
+++ branches/SuSE-Code-11-Branch/firewall/VERSION Mon Jan 12 10:29:19 2009
@@ -1 +1 @@
-2.17.6
+2.17.7

Modified: branches/SuSE-Code-11-Branch/firewall/package/yast2-firewall.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/firewall/package/yast2-firewall.changes?rev=54535&r1=54534&r2=54535&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/firewall/package/yast2-firewall.changes
(original)
+++ branches/SuSE-Code-11-Branch/firewall/package/yast2-firewall.changes Mon
Jan 12 10:29:19 2009
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Mon Jan 12 10:27:26 CET 2009 - locilka@xxxxxxx
+
+- A better sorting for allowed services and services to allow
+ (bnc #461790).
+- 2.17.7
+
+-------------------------------------------------------------------
Tue Dec 2 15:01:53 CET 2008 - locilka@xxxxxxx

- Escaping HTML in Firewall summary (bnc #450895).

Modified: branches/SuSE-Code-11-Branch/firewall/src/subdialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/firewall/src/subdialogs.ycp?rev=54535&r1=54534&r2=54535&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/firewall/src/subdialogs.ycp (original)
+++ branches/SuSE-Code-11-Branch/firewall/src/subdialogs.ycp Mon Jan 12
10:29:19 2009
@@ -207,7 +207,7 @@

`Table (
`id("table_allowed_services"),
- `opt(`hstretch, `vstretch),
+ `opt(`hstretch, `vstretch, `keepSorting),
`header (
// TRANSLATORS: table header item
_("Allowed Service")

Modified: branches/SuSE-Code-11-Branch/firewall/src/uifunctions.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/firewall/src/uifunctions.ycp?rev=54535&r1=54534&r2=54535&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/firewall/src/uifunctions.ycp (original)
+++ branches/SuSE-Code-11-Branch/firewall/src/uifunctions.ycp Mon Jan 12
10:29:19 2009
@@ -694,6 +694,16 @@
});
}

+ // BNC #461790: A better sorting
+ allowed_services = sort (term x, term y, allowed_services,
+ ``(tolower(x[1]:"a") <= tolower(y[1]:"b"))
+ );
+ not_allowed_services = sort (term x, term y, not_allowed_services,
+ ``(tolower(x[1]:"a") <= tolower(y[1]:"b"))
+ );
+
+ y2milestone ("%1", not_allowed_services);
+
UI::ChangeWidget(`id("table_allowed_services"), `Items,
allowed_services);
UI::ReplaceWidget(`id("allow_service_names_replacepoint"),
// TRANSLATORS: select box

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

< Previous Next >
This Thread
  • No further messages