![](https://seccdn.libravatar.org/avatar/af22e20b6884acbc89be6d7736c43e92.jpg?s=120&d=mm&r=g)
Hello community,
here is the log from the commit of package yast2-online-update
checked in at Fri Apr 28 21:09:05 CEST 2006.
--------
--- yast2-online-update/yast2-online-update.changes 2006-04-25 16:19:10.000000000 +0200
+++ NOARCH/yast2-online-update/yast2-online-update.changes 2006-04-27 16:13:49.000000000 +0200
@@ -1,0 +2,12 @@
+Thu Apr 27 16:03:24 CEST 2006 - jsuchome@suse.cz
+
+- show the popup for restarting yast also on installed system
+- 2.13.35
+
+-------------------------------------------------------------------
+Thu Apr 27 15:58:37 CEST 2006 - visnov@suse.cz
+
+- fix the dialog term for patch messages (#170155)
+- 2.13.34
+
+-------------------------------------------------------------------
Old:
----
yast2-online-update-2.13.33.tar.bz2
New:
----
yast2-online-update-2.13.35.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-online-update.spec ++++++
--- /var/tmp/diff_new_pack.nEoKuc/_old 2006-04-28 21:08:46.000000000 +0200
+++ /var/tmp/diff_new_pack.nEoKuc/_new 2006-04-28 21:08:46.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-online-update (Version 2.13.33)
+# spec file for package yast2-online-update (Version 2.13.35)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-online-update
-Version: 2.13.33
-Release: 1
+Version: 2.13.35
+Release: 2
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-online-update-2.13.33.tar.bz2
+Source0: yast2-online-update-2.13.35.tar.bz2
prefix: /usr
BuildRequires: gcc-c++ libxcrypt-devel perl-XML-Writer pkg-config update-desktop-files yast2-bootloader yast2-devtools yast2-packager
PreReq: grep sed
@@ -45,7 +45,7 @@
gs@suse.de
%prep
-%setup -n yast2-online-update-2.13.33
+%setup -n yast2-online-update-2.13.35
%build
%{prefix}/bin/y2tool y2autoconf
@@ -114,6 +114,12 @@
%{prefix}/share/applications/YaST2/cd_update.desktop
%changelog -n yast2-online-update
+* Thu Apr 27 2006 - jsuchome@suse.cz
+- show the popup for restarting yast also on installed system
+- 2.13.35
+* Thu Apr 27 2006 - visnov@suse.cz
+- fix the dialog term for patch messages (#170155)
+- 2.13.34
* Tue Apr 25 2006 - jsuchome@suse.cz
- 'Patch CD Update': save CD source at the end
- 2.13.33
++++++ yast2-online-update-2.13.33.tar.bz2 -> yast2-online-update-2.13.35.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-online-update-2.13.33/VERSION new/yast2-online-update-2.13.35/VERSION
--- old/yast2-online-update-2.13.33/VERSION 2006-04-25 15:57:35.000000000 +0200
+++ new/yast2-online-update-2.13.35/VERSION 2006-04-27 16:03:55.000000000 +0200
@@ -1 +1 @@
-2.13.33
+2.13.35
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-online-update-2.13.33/src/OnlineUpdateDialogs.ycp new/yast2-online-update-2.13.35/src/OnlineUpdateDialogs.ycp
--- old/yast2-online-update-2.13.33/src/OnlineUpdateDialogs.ycp 2006-04-05 16:43:17.000000000 +0200
+++ new/yast2-online-update-2.13.35/src/OnlineUpdateDialogs.ycp 2006-04-27 16:03:12.000000000 +0200
@@ -66,7 +66,7 @@
);
if (!Mode::config())
{
- random_dialog = `Empty();
+ random_dialog = `HBox(`Empty);
}
term content = `VBox(
@@ -305,7 +305,7 @@
`HBox( `HSpacing( 0.5 ), `Left( `Heading( heading ) ) ),
`VSpacing( 0.2 ),
`Label( message ),
- `ReplacePoint( `id( `rp ), `Empty() ),
+ `ReplacePoint( `id( `rp ), `HBox(`Empty) ),
buttons
)
);
@@ -536,13 +536,13 @@
term buttons = nil;
if ( pre ) {
buttons = `HBox(
- details == "" ? `Empty : detailsButton,
+ details == "" ? `VSpacing(0) : detailsButton,
`PushButton( `id( `ok ), _("Install Patch") ),
`PushButton( `id( `skip ), _("Skip Patch") )
);
} else {
buttons = `HBox(
- details == "" ? `Empty : detailsButton,
+ details == "" ? `VSpacing(0) : detailsButton,
`PushButton( `id( `ok ), Label::OKButton() )
);
}
@@ -555,6 +555,8 @@
h = 15;
}
+ y2milestone( "Going to open the message dialog" );
+
UI::OpenDialog( `opt( `decorated ),
`VBox(
`HSpacing( w ),
@@ -568,6 +570,8 @@
)
);
+ y2milestone( "Dialog opened");
+
symbol ret = nil;
boolean showDetails = false;
@@ -576,7 +580,7 @@
if ( ret == `details ) {
if ( showDetails ) {
- UI::ReplaceWidget( `id( `rp ), `Empty() );
+ UI::ReplaceWidget( `id( `rp ), `HSpacing(0) );
UI::ChangeWidget( `id( `details ), `Label, detailsStringOff );
} else {
UI::ReplaceWidget( `id( `rp ), `HBox( `HSpacing( 0.5 ),
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-online-update-2.13.33/src/online_update.ycp new/yast2-online-update-2.13.35/src/online_update.ycp
--- old/yast2-online-update-2.13.33/src/online_update.ycp 2006-04-25 15:26:03.000000000 +0200
+++ new/yast2-online-update-2.13.35/src/online_update.ycp 2006-04-27 15:53:35.000000000 +0200
@@ -11,11 +11,13 @@
import "Confirm";
import "Directory";
+ import "FileUtils";
import "Label";
import "Mode";
import "OnlineUpdate";
import "OnlineUpdateCallbacks";
import "PackageLock";
+ import "Popup";
import "Version";
import "Wizard";
import "GetInstArgs";
@@ -168,13 +170,19 @@
if (OnlineUpdate::cd_update && OnlineUpdate::cd_source > -1)
{
- Pkg::SourceFinishAll ();
+ Pkg::SourceFinishAll ();
}
if (OnlineUpdate::restart_yast)
{
- OnlineUpdate::restart_yast = false;
- return -42;
+ if (FileUtils::Exists (Directory::vardir + "/selected_patches.ycp"))
+ {
+ // message popup
+ Popup::Message (_("During online update, YaST was updated.
+Finishing and restarting now."));
+ }
+ OnlineUpdate::restart_yast = false;
+ return -42; // restart menu.ycp even if there are no other patches selected
}
return 0;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-online-update-2.13.33/src/online_update_select.ycp new/yast2-online-update-2.13.35/src/online_update_select.ycp
--- old/yast2-online-update-2.13.33/src/online_update_select.ycp 2006-04-21 11:15:36.000000000 +0200
+++ new/yast2-online-update-2.13.35/src/online_update_select.ycp 2006-04-27 15:49:40.000000000 +0200
@@ -67,6 +67,8 @@
y2debug( "RunPkgSelection returned '%1'", ret );
+ if ( ret == `cancel ) return `abort;
+
boolean restart_yast = false;
list<string> normal_patches = [];
foreach (map patch, Pkg::ResolvableProperties("", `patch, ""), {
@@ -83,10 +85,10 @@
// for later usage
if (restart_yast && size (normal_patches) > 0)
{
- foreach (string pname, normal_patches, {
- Pkg::ResolvableNeutral (pname, `patch, true);
- });
- SCR::Write (.target.ycp, saved_path, normal_patches);
+ foreach (string pname, normal_patches, {
+ Pkg::ResolvableNeutral (pname, `patch, true);
+ });
+ SCR::Write (.target.ycp, saved_path, normal_patches);
}
// no patch selected
if (!restart_yast && normal_patches == [])
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-online-update-2.13.33/yast2-online-update-2.13.35/online-update.pot new/yast2-online-update-2.13.35/yast2-online-update-2.13.35/online-update.pot
--- old/yast2-online-update-2.13.33/yast2-online-update-2.13.35/online-update.pot 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-online-update-2.13.35/yast2-online-update-2.13.35/online-update.pot 2006-02-17 11:41:23.000000000 +0100
@@ -0,0 +1,298 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR SuSE Linux Products GmbH, Nuernberg
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR
participants (1)
-
root@suse.de