[yast-commit] r41431 - in /trunk/samba-server: VERSION package/yast2-samba-server.changes src/dialogs.ycp
![](https://seccdn.libravatar.org/avatar/2e1a2d7374f0eeb790839676bdd1123a.jpg?s=120&d=mm&r=g)
Author: locilka Date: Mon Oct 15 16:38:37 2007 New Revision: 41431 URL: http://svn.opensuse.org/viewcvs/yast?rev=41431&view=rev Log: - Correctly display user-shares status when adjusting it and switching between different tabs at one YaST run (#332838). - 2.16.1 Modified: trunk/samba-server/VERSION trunk/samba-server/package/yast2-samba-server.changes trunk/samba-server/src/dialogs.ycp Modified: trunk/samba-server/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-server/VERSION?rev=41431&r1=41430&r2=41431&view=diff ============================================================================== --- trunk/samba-server/VERSION (original) +++ trunk/samba-server/VERSION Mon Oct 15 16:38:37 2007 @@ -1 +1 @@ -2.15.7 +2.16.1 Modified: trunk/samba-server/package/yast2-samba-server.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-server/package/yast2-samba-server.changes?rev=41431&r1=41430&r2=41431&view=diff ============================================================================== --- trunk/samba-server/package/yast2-samba-server.changes (original) +++ trunk/samba-server/package/yast2-samba-server.changes Mon Oct 15 16:38:37 2007 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Oct 15 16:36:19 CEST 2007 - locilka@suse.cz + +- Correctly display user-shares status when adjusting it and + switching between different tabs at one YaST run (#332838). +- 2.16.1 + +------------------------------------------------------------------- Tue Jun 5 13:32:13 CEST 2007 - locilka@suse.cz - Removed SambaNmbLookup::GetAvailableNeighbours call because this Modified: trunk/samba-server/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-server/src/dialogs.ycp?rev=41431&r1=41430&r2=41431&view=diff ============================================================================== --- trunk/samba-server/src/dialogs.ycp (original) +++ trunk/samba-server/src/dialogs.ycp Mon Oct 15 16:38:37 2007 @@ -101,7 +101,7 @@ Wizard::SetContents( caption, contents, HELPS["inst_step1"]:"", false, true); - Wizard::HideBackButton(); + Wizard::DisableBackButton(); if (size(workgroup)>0) { UI::ChangeWidget(`id("workgroups"), `Value, workgroup); @@ -317,10 +317,14 @@ void InitUserShareWidgets () { max_shares = Samba::GetMaxShares (); + if (max_shares == 0) { max_shares = 100; allow_share = false; + } else { + allow_share = true; } + shares_group = Samba::shares_group; UI::ChangeWidget (`id(`group), `Value, shares_group); @@ -1059,8 +1063,8 @@ string help = CWM::MergeHelps(w); contents = CWM::PrepareDialog(contents, w); - Wizard::SetContentsButtons(caption, contents, help, Label::NextButton (), Label::FinishButton ()); - Wizard::HideBackButton(); + Wizard::SetContentsButtons(caption, contents, help, Label::BackButton (), Label::FinishButton ()); + Wizard::DisableBackButton(); any ret = CWM::Run(w, $[`abort: confirmAbort ]); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org