Mailinglist Archive: yast-commit (815 mails)

< Previous Next >
[yast-commit] r39913 - in /trunk/samba-client: VERSION package/yast2-samba-client.changes src/dialogs.ycp
  • From: jsuchome@xxxxxxxxxxxxxxxx
  • Date: Thu, 02 Aug 2007 15:46:36 -0000
  • Message-id: <20070802154636.58663B5911@xxxxxxxxxxxxxxxx>
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@xxxxxxx
+
+- show error popup when installation of required packages fails
+  (#296677)
+- 2.15.11
+
+-------------------------------------------------------------------
 Thu Jul 19 11:37:36 CEST 2007 - jsuchome@xxxxxxx
 
 - 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages