Author: jsuchome Date: Thu Aug 2 17:46:35 2007 New Revision: 39913 URL: http://svn.opensuse.org/viewcvs/yast?rev=39913&view=rev Log: - show error popup when installation of required packages fails (#296677) - 2.15.11 Modified: trunk/samba-client/VERSION trunk/samba-client/package/yast2-samba-client.changes trunk/samba-client/src/dialogs.ycp Modified: trunk/samba-client/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-client/VERSION?rev=39913&r1=39912&r2=39913&view=diff ============================================================================== --- trunk/samba-client/VERSION (original) +++ trunk/samba-client/VERSION Thu Aug 2 17:46:35 2007 @@ -1 +1 @@ -2.15.10 +2.15.11 Modified: trunk/samba-client/package/yast2-samba-client.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-client/package/yast2-samba-client.changes?rev=39913&r1=39912&r2=39913&view=diff ============================================================================== --- trunk/samba-client/package/yast2-samba-client.changes (original) +++ trunk/samba-client/package/yast2-samba-client.changes Thu Aug 2 17:46:35 2007 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Aug 2 17:34:14 CEST 2007 - jsuchome@suse.cz + +- show error popup when installation of required packages fails + (#296677) +- 2.15.11 + +------------------------------------------------------------------- Thu Jul 19 11:37:36 CEST 2007 - jsuchome@suse.cz - do not offer disabling DHCP changes of hostname when Modified: trunk/samba-client/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-client/src/dialogs.ycp?rev=39913&r1=39912&r2=39913&view=diff ============================================================================== --- trunk/samba-client/src/dialogs.ycp (original) +++ trunk/samba-client/src/dialogs.ycp Thu Aug 2 17:46:35 2007 @@ -10,16 +10,17 @@ textdomain "samba-client"; +import "Autologin"; import "Directory"; -import "Mode"; -import "Stage"; -import "Samba"; -import "SambaConfig"; import "Label"; +import "Message"; +import "Mode"; import "Package"; import "Popup"; +import "Samba"; +import "SambaConfig"; +import "Stage"; import "Wizard"; -import "Autologin"; include "samba-client/helps.ycp"; include "samba-client/routines.ycp"; @@ -402,8 +403,13 @@ packages = (list<string>)merge(packages,["krb5","krb5-client"]); } packages = Samba::UpdatedArchPackages (packages); - if (!Package::InstalledAll (packages)) - Package::InstallAll (packages); + if (!Package::InstallAll (packages)) + { + Popup::Error (Message::FailedToInstallPackages ()); + ret = `not_next; + UI::ChangeWidget(`id(`winbind), `Value, false); + continue; + } } Samba::SetMkHomeDir (use_winbind && -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org