Mailinglist Archive: yast-commit (396 mails)

< Previous Next >
[yast-commit] r65270 - in /trunk/sysconfig: VERSION package/yast2-sysconfig.changes src/complex.ycp src/dialogs.ycp
Author: lslezak
Date: Mon Aug 8 13:55:24 2011
New Revision: 65270

URL: http://svn.opensuse.org/viewcvs/yast?rev=65270&view=rev
Log:
- use ButtonBox for push button widgets (bnc#701273)
- removed unnecessary text from summary dialog
- 2.21.1

Modified:
trunk/sysconfig/VERSION
trunk/sysconfig/package/yast2-sysconfig.changes
trunk/sysconfig/src/complex.ycp
trunk/sysconfig/src/dialogs.ycp

Modified: trunk/sysconfig/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sysconfig/VERSION?rev=65270&r1=65269&r2=65270&view=diff
==============================================================================
--- trunk/sysconfig/VERSION (original)
+++ trunk/sysconfig/VERSION Mon Aug 8 13:55:24 2011
@@ -1 +1 @@
-2.21.0
+2.21.1

Modified: trunk/sysconfig/package/yast2-sysconfig.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sysconfig/package/yast2-sysconfig.changes?rev=65270&r1=65269&r2=65270&view=diff
==============================================================================
--- trunk/sysconfig/package/yast2-sysconfig.changes (original)
+++ trunk/sysconfig/package/yast2-sysconfig.changes Mon Aug 8 13:55:24 2011
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Mon Aug 8 11:35:31 UTC 2011 - lslezak@xxxxxxx
+
+- use ButtonBox for push button widgets (bnc#701273)
+- removed unnecessary text from summary dialog
+- 2.21.1
+
+-------------------------------------------------------------------
Fri Aug 5 12:35:30 CEST 2011 - tgoettlicher@xxxxxxx

- fixed .desktop file (bnc #681249)

Modified: trunk/sysconfig/src/complex.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sysconfig/src/complex.ycp?rev=65270&r1=65269&r2=65270&view=diff
==============================================================================
--- trunk/sysconfig/src/complex.ycp (original)
+++ trunk/sysconfig/src/complex.ycp Mon Aug 8 13:55:24 2011
@@ -803,13 +803,10 @@

y2milestone("Modified variables: %1", modified);

- // popup dialog header
- map result = display_variables_dialog(_("Modified Variables"),
-// help text in popup dialog
-_("Here, see the values YaST2 will change.
-Choose \"OK\" for YaST2 to save these changes.
-Choose \"Cancel\" to edit the values again.
-"), create_table_content(modified), Label::OKButton(),
Label::CancelButton(), _("Confirm Each Activation Command"), false);
+ // popup dialog header - confirm to save the changes
+ map result = display_variables_dialog(_("Save Modified
Variables"), "",
+ // checkbox label
+ create_table_content(modified), Label::SaveButton(),
Label::CancelButton(), _("Confirm Each Activation Command"), false);

if (result["ui"]:`dummy == `cancel)
{

Modified: trunk/sysconfig/src/dialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sysconfig/src/dialogs.ycp?rev=65270&r1=65269&r2=65270&view=diff
==============================================================================
--- trunk/sysconfig/src/dialogs.ycp (original)
+++ trunk/sysconfig/src/dialogs.ycp Mon Aug 8 13:55:24 2011
@@ -50,7 +50,7 @@
`HSpacing(2)
),
`VSpacing(0.5),
- `HBox(
+ `ButtonBox(
// push button label
`PushButton(`id(`ok), `opt(`default, `key_F10),
Label::OKButton()),
// push button label
@@ -102,14 +102,14 @@
`VBox(`HSpacing(70),
//heading of popup
`Heading(header),
- `Label(label),
+ label == "" ? `Empty() : `Label(label),
`VSpacing(0.5),

// table column header
`Table(`id(`table),`header(_("Name"), _("NEW VALUE"), _("Old
Value"), _("File"), _("Description")), table_content),
(size(checkboxlabel) > 0) ? `CheckBox(`id(`chbox),
checkboxlabel, checkboxvalue) : `Empty(),
`VSpacing(0.5),
- `HBox(
+ `ButtonBox(
// push button label
`PushButton(`id(`action), `opt(`default, `key_F10),
ok_label),
// push button label
@@ -157,7 +157,7 @@
`TextEntry(`id(`file), _("&File Name"), "")
),
`VSpacing(1),
- `HBox(
+ `ButtonBox(
`PushButton(`id(`ok), `opt(`key_F10), Label::OKButton()),
`PushButton(`id(`cancel), `opt(`key_F9), Label::CancelButton())
)

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

< Previous Next >
This Thread
  • No further messages