Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54536 - in /trunk/firewall: VERSION package/yast2-firewall.changes src/subdialogs.ycp src/uifunctions.ycp
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Mon, 12 Jan 2009 09:29:31 -0000
  • Message-id: <E1LMJ6x-0004hI-41@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Mon Jan 12 10:29:30 2009
New Revision: 54536

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


Modified:
trunk/firewall/VERSION
trunk/firewall/package/yast2-firewall.changes
trunk/firewall/src/subdialogs.ycp
trunk/firewall/src/uifunctions.ycp

Modified: trunk/firewall/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/firewall/VERSION?rev=54536&r1=54535&r2=54536&view=diff
==============================================================================
--- trunk/firewall/VERSION (original)
+++ trunk/firewall/VERSION Mon Jan 12 10:29:30 2009
@@ -1 +1 @@
-2.17.6
+2.17.7

Modified: trunk/firewall/package/yast2-firewall.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/firewall/package/yast2-firewall.changes?rev=54536&r1=54535&r2=54536&view=diff
==============================================================================
--- trunk/firewall/package/yast2-firewall.changes (original)
+++ trunk/firewall/package/yast2-firewall.changes Mon Jan 12 10:29:30 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: trunk/firewall/src/subdialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/firewall/src/subdialogs.ycp?rev=54536&r1=54535&r2=54536&view=diff
==============================================================================
--- trunk/firewall/src/subdialogs.ycp (original)
+++ trunk/firewall/src/subdialogs.ycp Mon Jan 12 10:29:30 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: trunk/firewall/src/uifunctions.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/firewall/src/uifunctions.ycp?rev=54536&r1=54535&r2=54536&view=diff
==============================================================================
--- trunk/firewall/src/uifunctions.ycp (original)
+++ trunk/firewall/src/uifunctions.ycp Mon Jan 12 10:29:30 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