Mailinglist Archive: yast-commit (62 mails)

< Previous Next >
[yast-commit] r62497 - in /trunk/nis-client: VERSION package/yast2-nis-client.changes src/ui.ycp
  • From: jsuchome@xxxxxxxxxxxxxxxxx
  • Date: Mon, 20 Sep 2010 20:01:02 -0000
  • Message-id: <20100920200103.16154322E1@xxxxxxxxxxxxxxxxx>
Author: jsuchome
Date: Mon Sep 20 22:01:01 2010
New Revision: 62497

URL: http://svn.opensuse.org/viewcvs/yast?rev=62497&view=rev
Log:
- added button to call NFS client (bnc#626515)
- 2.20.0


Modified:
trunk/nis-client/VERSION
trunk/nis-client/package/yast2-nis-client.changes
trunk/nis-client/src/ui.ycp

Modified: trunk/nis-client/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/nis-client/VERSION?rev=62497&r1=62496&r2=62497&view=diff
==============================================================================
--- trunk/nis-client/VERSION (original)
+++ trunk/nis-client/VERSION Mon Sep 20 22:01:01 2010
@@ -1 +1 @@
-2.18.2
+2.20.0

Modified: trunk/nis-client/package/yast2-nis-client.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/nis-client/package/yast2-nis-client.changes?rev=62497&r1=62496&r2=62497&view=diff
==============================================================================
--- trunk/nis-client/package/yast2-nis-client.changes (original)
+++ trunk/nis-client/package/yast2-nis-client.changes Mon Sep 20 22:01:01 2010
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Mon Sep 20 21:59:33 CEST 2010 - jsuchome@xxxxxxx
+
+- added button to call NFS client (bnc#626515)
+- 2.20.0
+
------------------------------------------------------------------
Wed Jan 13 18:56:03 CET 2010 - kmachalkova@xxxxxxx


Modified: trunk/nis-client/src/ui.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/nis-client/src/ui.ycp?rev=62497&r1=62496&r2=62497&view=diff
==============================================================================
--- trunk/nis-client/src/ui.ycp (original)
+++ trunk/nis-client/src/ui.ycp Mon Sep 20 22:01:01 2010
@@ -211,10 +211,13 @@
help_text = help_text + broadcast_help;

// help text
- help_text = help_text + _("<p>Automounter is a daemon that mounts
directories automatically,
+ help_text = help_text + _("<p><b>Automounter</b> is a daemon that
mounts directories automatically,
such as users' home directories.
It is assumed that its configuration files (auto.*) already exist,
-either locally or over NIS.</p>");
+either locally or over NIS.</p>")
+
+ // help text
+ + _("<p>NFS Settings which affects how the automouter operates could be
set in NFS Client, which can be configured using <b>NFS Configuration</b>
button.</p>");


help_text = help_text + firewall_widget["help"]:"";
@@ -348,10 +351,15 @@
// checkbox label
`CheckBox (`id(`autofs), _("Start Auto&mounter"), autofs),
`VSpacing (0.4),
- `PushButton (`id (`expert), `opt (`key_F7),
- // button label
- // (short for Expert settings)
- _("E&xpert...")
+ `HBox (
+ `PushButton (`id (`expert), `opt (`key_F7),
+ // button label (short for Expert settings)
+ _("E&xpert...")
+ ),
+ `PushButton (`id (`nfs), `opt (`key_F8),
+ // button label
+ _("NFS Configuration...")
+ )
),
`VSpacing (0.4)
)), `HSpacing (0.5));
@@ -392,6 +400,7 @@
UI::ChangeWidget (`id (`policy), `Enabled, yp_client);
//UI::ChangeWidget (`id (`custompolicy), `Enabled, yp_client);
UI::ChangeWidget (`id (`autofs), `Enabled, yp_client);
+ UI::ChangeWidget (`id (`nfs), `Enabled, yp_client);

boolean manual = (UI::QueryWidget(`id(`policy),`Value)== `nomodify);
UI::ChangeWidget (`id (`domain), `Enabled, !manual && yp_client);
@@ -446,6 +455,13 @@
}
}
}
+ else if (result == `nfs)
+ {
+ if (Package::InstallAll ( ["yast2-nfs-client"]))
+ {
+ WFM::CallFunction ("nfs-client", []);
+ }
+ }
else if (contains ([`next, `edit, `expert], result))
{
yp_client = ((symbol) UI::QueryWidget (`id (`rd),
`CurrentButton) != `nisno);

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

< Previous Next >
This Thread
  • No further messages