Mailinglist Archive: yast-commit (1339 mails)

< Previous Next >
[yast-commit] r46799 - in /trunk/bootloader: package/ src/elilo/ src/generic/ src/routines/
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Thu, 17 Apr 2008 18:26:05 -0000
  • Message-id: <20080417182605.3D7DE2EB72@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Thu Apr 17 20:26:04 2008
New Revision: 46799

URL: http://svn.opensuse.org/viewcvs/yast?rev=46799&view=rev
Log:
- using `InputField as a replacement for obsolete `TextEntry.


Modified:
trunk/bootloader/package/yast2-bootloader.changes
trunk/bootloader/src/elilo/widgets.ycp
trunk/bootloader/src/generic/widget_funcs.ycp
trunk/bootloader/src/routines/dialogs_i386.ycp
trunk/bootloader/src/routines/global_widgets.ycp
trunk/bootloader/src/routines/section_widgets.ycp

Modified: trunk/bootloader/package/yast2-bootloader.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/package/yast2-bootloader.changes?rev=46799&r1=46798&r2=46799&view=diff
==============================================================================
--- trunk/bootloader/package/yast2-bootloader.changes (original)
+++ trunk/bootloader/package/yast2-bootloader.changes Thu Apr 17 20:26:04 2008
@@ -3,6 +3,7 @@

- fixed initializing of combo-box widgets in dialogs, ComboBox
in Qt does not accept `Value, using `Items instead (bnc #380781).
+- using `InputField as a replacement for obsolete `TextEntry.

-------------------------------------------------------------------
Wed Apr 16 15:20:15 CEST 2008 - juhliarik@xxxxxxx

Modified: trunk/bootloader/src/elilo/widgets.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/src/elilo/widgets.ycp?rev=46799&r1=46798&r2=46799&view=diff
==============================================================================
--- trunk/bootloader/src/elilo/widgets.ycp (original)
+++ trunk/bootloader/src/elilo/widgets.ycp Thu Apr 17 20:26:04 2008
@@ -43,7 +43,7 @@
// check box
_("&Create EFI Entry"))),
`VSpacing (0.6),
- `Left (`TextEntry (`id (`location),
+ `Left (`InputField (`id (`location), `opt (`hstretch),
// text entry label
_("&EFI Entry Name"))),
have_old ? `VSpacing (1) : `VSpacing (0),

Modified: trunk/bootloader/src/generic/widget_funcs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/src/generic/widget_funcs.ycp?rev=46799&r1=46798&r2=46799&view=diff
==============================================================================
--- trunk/bootloader/src/generic/widget_funcs.ycp (original)
+++ trunk/bootloader/src/generic/widget_funcs.ycp Thu Apr 17 20:26:04 2008
@@ -111,11 +111,11 @@
if ( type == "radio" || type == "check") {
new = `Left(`HBox (
enable_widget,
- `TextEntry(`id( key ), "")
+ `InputField(`id( key ), `opt (`hstretch), "")
));
}
else {
- new = `TextEntry(`id( key ), desc);
+ new = `InputField(`id( key ), `opt (`hstretch), desc);
}
}
else if (value == "password") {

Modified: trunk/bootloader/src/routines/dialogs_i386.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/src/routines/dialogs_i386.ycp?rev=46799&r1=46798&r2=46799&view=diff
==============================================================================
--- trunk/bootloader/src/routines/dialogs_i386.ycp (original)
+++ trunk/bootloader/src/routines/dialogs_i386.ycp Thu Apr 17 20:26:04 2008
@@ -121,7 +121,7 @@
{
term popup = `VBox (`VSpacing (1),
// textentry header
- `TextEntry (`id (`devname), _("&Device")),
+ `InputField (`id (`devname), `opt (`hstretch), _("&Device")),
`VSpacing (1),
`HBox (`HStretch (),
`PushButton (`id (`ok), `opt (`key_F10, `default),

Modified: trunk/bootloader/src/routines/global_widgets.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/src/routines/global_widgets.ycp?rev=46799&r1=46798&r2=46799&view=diff
==============================================================================
--- trunk/bootloader/src/routines/global_widgets.ycp (original)
+++ trunk/bootloader/src/routines/global_widgets.ycp Thu Apr 17 20:26:04 2008
@@ -105,7 +105,9 @@
list sec = maplist (map<string,any> s, sects, {
string image = s["kernel"]:"";
string root = (BootCommon::getHintedPartitionList
([s["root"]:""]))[0]:"";
+
return `item (`id (s["name"]:""),
+ // FIXME: do not match against key "name" (can be changed by user
when editing section)
tolower (BootCommon::globals["default"]:"")
== tolower (s["name"]:"")
? UI::Glyph (`CheckMark) : "",

Modified: trunk/bootloader/src/routines/section_widgets.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/src/routines/section_widgets.ycp?rev=46799&r1=46798&r2=46799&view=diff
==============================================================================
--- trunk/bootloader/src/routines/section_widgets.ycp (original)
+++ trunk/bootloader/src/routines/section_widgets.ycp Thu Apr 17 20:26:04 2008
@@ -350,7 +350,7 @@
"kernel" : $[
"widget" : `custom,
"custom_widget" : Stage::initial ()
- ? `TextEntry (`id ("kernel"), `opt (`hstretch),
+ ? `InputField (`id ("kernel"), `opt (`hstretch),
// text entry
_("&Kernel"))
: `HBox (
@@ -372,7 +372,7 @@
"initrd" : $[
"widget" : `custom,
"custom_widget" : Stage::initial ()
- ? `TextEntry (`id ("initrd"), `opt (`hstretch),
+ ? `InputField (`id ("initrd"), `opt (`hstretch),
// text entry
_("&Initial RAM Disk"))
: `HBox (

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

< Previous Next >
This Thread
  • No further messages