Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49773 - /branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp
  • From: lslezak@xxxxxxxxxxxxxxxx
  • Date: Wed, 06 Aug 2008 13:35:35 -0000
  • Message-id: <20080806133535.5C3C729FB7@xxxxxxxxxxxxxxxx>
Author: lslezak
Date: Wed Aug 6 15:35:34 2008
New Revision: 49773

URL: http://svn.opensuse.org/viewcvs/yast?rev=49773&view=rev
Log:
- preselect the first redaibutton in the arch dialog

Modified:
branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp

Modified: branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp?rev=49773&r1=49772&r2=49773&view=diff
==============================================================================
--- branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp (original)
+++ branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp Wed Aug 6
15:35:34 2008
@@ -430,10 +430,13 @@
{
term widget = `VBox();

- // TODO: preselect the first item?
+ boolean preselect = true;
+
+ // preselect the first item
foreach(string a, archs,
{
- widget = add(widget, `MinWidth(25, `Left(`RadioButton(`id(a), a))));
+ widget = add(widget, `MinWidth(25, `Left(`RadioButton(`id(a), a,
preselect))));
+ preselect = false;
}
);


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

< Previous Next >
This Thread
  • No further messages