[yast-commit] r41541 - in /trunk/pos-installation: VERSION src/clients/inst_slepos_server_selection.ycp
Author: locilka Date: Wed Oct 24 15:52:28 2007 New Revision: 41541 URL: http://svn.opensuse.org/viewcvs/yast?rev=41541&view=rev Log: - If pattern selection fails, report an error and call manual pattern selector instead. The manual pattern selector has its own interactive issue-solver (#334760). - 2.13.4 Modified: trunk/pos-installation/VERSION trunk/pos-installation/src/clients/inst_slepos_server_selection.ycp Modified: trunk/pos-installation/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/pos-installation/VERSION?rev=41541&r1=41540&r2=41541&view=diff ============================================================================== --- trunk/pos-installation/VERSION (original) +++ trunk/pos-installation/VERSION Wed Oct 24 15:52:28 2007 @@ -1 +1 @@ -2.13.3 +2.13.4 Modified: trunk/pos-installation/src/clients/inst_slepos_server_selection.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/pos-installation/src/clients/inst_slepos_server_selection.ycp?rev=41541&r1=41540&r2=41541&view=diff ============================================================================== --- trunk/pos-installation/src/clients/inst_slepos_server_selection.ycp (original) +++ trunk/pos-installation/src/clients/inst_slepos_server_selection.ycp Wed Oct 24 15:52:28 2007 @@ -192,18 +192,22 @@ } } + boolean Call_inst_packages () { + any ret = WFM::call ("inst_packages", [`patterns]); + + // user didn't accept the pattern selector + if (ret != `accept) { + return false; + } else { + return true; + } + } + boolean HandleSelectedRadioButton () { string current_button = (string) UI::QueryWidget (`id (`selected_pattern), `CurrentButton); if (current_button == "detailed") { - any ret = WFM::call ("inst_packages", [`patterns]); - - // user didn't accept the pattern selector - if (ret != `accept) { - return false; - } else { - return true; - } + return Call_inst_packages(); } else if (regexpmatch (current_button, "^pattern: .*$")) { foreach (string pattern_neutral, all_patterns_in_selection, { list
participants (1)
-
locilka@svn.opensuse.org