Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54997 - in /trunk/network: package/yast2-network.changes src/services/host.ycp
  • From: mzugec@xxxxxxxxxxxxxxxx
  • Date: Mon, 26 Jan 2009 12:23:34 -0000
  • Message-id: <E1LRQV4-0008Rb-SI@xxxxxxxxxxxxxxxx>
Author: mzugec
Date: Mon Jan 26 13:23:34 2009
New Revision: 54997

URL: http://svn.opensuse.org/viewcvs/yast?rev=54997&view=rev
Log:
host : button labeling (bnc#440521)

Modified:
trunk/network/package/yast2-network.changes
trunk/network/src/services/host.ycp

Modified: trunk/network/package/yast2-network.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/package/yast2-network.changes?rev=54997&r1=54996&r2=54997&view=diff
==============================================================================
--- trunk/network/package/yast2-network.changes (original)
+++ trunk/network/package/yast2-network.changes Mon Jan 26 13:23:34 2009
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Jan 26 13:22:37 CET 2009 - mzugec@xxxxxxx
+
+- host : button labeling (bnc#440521)
+
+-------------------------------------------------------------------
Mon Jan 26 12:56:46 CET 2009 - mzugec@xxxxxxx

- proxy : button labeling (bnc#440535)

Modified: trunk/network/src/services/host.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/services/host.ycp?rev=54997&r1=54996&r2=54997&view=diff
==============================================================================
--- trunk/network/src/services/host.ycp (original)
+++ trunk/network/src/services/host.ycp Mon Jan 26 13:23:34 2009
@@ -86,7 +86,7 @@
string name = regexpsub(s, "^([^ \t]+)[ \t].*$", "\\1");
string aliases = regexpsub(s, "^[^ \t]+[ \t]+(.*)[ \t]*$", "\\1");

- term item = `item(`id(size(table_items)), host,
+ term item = `item(`id(size(table_items)), host,
Punycode::DecodeDomainName(name),
Punycode::DecodePunycodes( [aliases] )[0]:"");
table_items = add(table_items, item);
});
@@ -125,13 +125,12 @@
),
`HSpacing(5)
);
-
if(standalone == true) {
-// Wizard::SetContentsButtons(caption, contents, help,
-// Label::CancelButton(), Label::OKButton());
- //In standalone mode, there's no going back
-// Wizard::DisableBackButton();
- Wizard::OpenOKDialog();
+ Wizard::SetContentsButtons(caption, contents, help,
+ Label::CancelButton(), Label::OKButton());
+ Wizard::SetNextButton(`next, Label::OKButton());
+ Wizard::SetAbortButton(`abort, Label::CancelButton());
+ Wizard::HideBackButton();
}
else
Wizard::SetContentsButtons(caption, contents, help,

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

< Previous Next >
This Thread
  • No further messages