Hello community,
here is the log from the commit of package yast2-update
checked in at Sat Nov 8 20:53:17 CET 2008.
--------
--- yast2-update/yast2-update.changes 2008-11-04 11:34:05.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-update/yast2-update.changes 2008-11-07 11:28:37.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Nov 7 11:26:47 CET 2008 - locilka@suse.cz
+
+- Using PackagesUI for opening a package selector (bnc #435479).
+- 2.17.11
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-update-2.17.10.tar.bz2
New:
----
yast2-update-2.17.11.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-update.spec ++++++
--- /var/tmp/diff_new_pack.N26003/_old 2008-11-08 20:52:55.000000000 +0100
+++ /var/tmp/diff_new_pack.N26003/_new 2008-11-08 20:52:55.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-update (Version 2.17.10)
+# spec file for package yast2-update (Version 2.17.11)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-update
-Version: 2.17.10
+Version: 2.17.11
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-update-2.17.10.tar.bz2
+Source0: yast2-update-2.17.11.tar.bz2
Prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-storage yast2-testsuite
# Packages::GetBaseSourceID
@@ -32,9 +32,8 @@
# Wizard::OpenOKDialog
BuildRequires: yast2 >= 2.16.49
# package not really needed to be installed but this breaks the building cycle
-# Installation::installedVersion && Installation::updateVersion
-# Update::* moved to Installation::update_*
-Requires: yast2 >= 2.16.5
+# PackagesUI::RunPackageSelector
+Requires: yast2 >= 2.17.40
Requires: yast2-installation
# Function SelectKernelPackages has been moved to Packages module (bnc #326269).
Requires: yast2-packager >= 2.17.27
@@ -83,7 +82,7 @@
Jiri Srain
%prep
-%setup -n yast2-update-2.17.10
+%setup -n yast2-update-2.17.11
%build
%{prefix}/bin/y2tool y2autoconf
@@ -131,6 +130,9 @@
/usr/share/YaST2/clients/update.ycp
/usr/share/YaST2/clients/run_update.ycp
%changelog
+* Fri Nov 07 2008 locilka@suse.cz
+- Using PackagesUI for opening a package selector (bnc #435479).
+- 2.17.11
* Tue Nov 04 2008 locilka@suse.cz
- Making obvious (in log) why a partition is marked 'not-valid'
(bnc #441378)
++++++ yast2-update-2.17.10.tar.bz2 -> yast2-update-2.17.11.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-update-2.17.10/src/clients/packages_proposal.ycp new/yast2-update-2.17.11/src/clients/packages_proposal.ycp
--- old/yast2-update-2.17.10/src/clients/packages_proposal.ycp 2008-09-23 17:24:14.000000000 +0200
+++ new/yast2-update-2.17.11/src/clients/packages_proposal.ycp 2008-11-07 11:29:36.000000000 +0100
@@ -5,7 +5,7 @@
*
* Purpose: Let user choose packages during update.
*
- * $Id: packages_proposal.ycp 51421 2008-09-23 15:24:33Z locilka $
+ * $Id: packages_proposal.ycp 53040 2008-11-07 10:30:00Z locilka $
*/
{
textdomain "update";
@@ -13,6 +13,7 @@
import "HTML";
import "Packages";
import "SpaceCalculation";
+ import "PackagesUI";
import "Update";
@@ -24,17 +25,14 @@
define symbol call_packageselector ()
{
- if (Update::unknown_packages > 0) // FIXME
- {
- UI::OpenDialog (`opt(`defaultsize), `PackageSelector (`id(`selector),
- `opt(`updateMode)));
- }
- else
- {
- UI::OpenDialog (`opt(`defaultsize), `PackageSelector (`id(`selector)));
- }
+ map options = $[];
+
+ // changing the default mode if there are some unknown packages
+ if (Update::unknown_packages > 0)
+ options["mode"] = `summaryMode;
+
+ symbol ret = PackagesUI::RunPackageSelector (options);
- symbol ret = (symbol) UI::RunPkgSelection (`id(`selector));
if (ret == `accept)
{
// FIXME: IT'S A MESS
@@ -43,8 +41,6 @@
Packages::base_selection_modified = true;
}
- UI::CloseDialog();
-
return ret;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-update-2.17.10/VERSION new/yast2-update-2.17.11/VERSION
--- old/yast2-update-2.17.10/VERSION 2008-11-04 11:34:19.000000000 +0100
+++ new/yast2-update-2.17.11/VERSION 2008-11-07 11:29:27.000000000 +0100
@@ -1 +1 @@
-2.17.10
+2.17.11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org