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@suse.cz + +- A better sorting for allowed services and services to allow + (bnc #461790). +- 2.17.7 + +------------------------------------------------------------------- Tue Dec 2 15:01:53 CET 2008 - locilka@suse.cz - 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@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org