Mailinglist Archive: zypp-commit (325 mails)

< Previous Next >
[zypp-commit] r7078 - in /trunk/updater-kde/updater: MainWindow.cpp simpleview.cpp zypp/ZYppUpdater.cpp
  • From: tgoettlicher@xxxxxxxxxxxxxxxx
  • Date: Mon, 03 Sep 2007 10:46:57 -0000
  • Message-id: <20070903104657.741F824FB6@xxxxxxxxxxxxxxxx>
Author: tgoettlicher
Date: Mon Sep  3 12:46:57 2007
New Revision: 7078

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7078&view=rev
Log:
fixed bug that prevented install of pkg-mgr-patches

Modified:
    trunk/updater-kde/updater/MainWindow.cpp
    trunk/updater-kde/updater/simpleview.cpp
    trunk/updater-kde/updater/zypp/ZYppUpdater.cpp

Modified: trunk/updater-kde/updater/MainWindow.cpp
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/updater-kde/updater/MainWindow.cpp?rev=7078&r1=7077&r2=7078&view=diff
==============================================================================
--- trunk/updater-kde/updater/MainWindow.cpp (original)
+++ trunk/updater-kde/updater/MainWindow.cpp Mon Sep  3 12:46:57 2007
@@ -631,7 +631,8 @@
        QCheckListItem *item = (QCheckListItem*)patchList->firstChild();
 
        while (item != NULL) {
-               if (item->text(COLUMN_TYPE).lower() == "recommended" && 
+               if ((item->text(COLUMN_TYPE).lower() == "recommended" || 
+                       item->text(COLUMN_TYPE).lower() == "packagemanager"  ) &&
                (!onlySelected || item->isOn())) 
                        count++;
                

Modified: trunk/updater-kde/updater/simpleview.cpp
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/updater-kde/updater/simpleview.cpp?rev=7078&r1=7077&r2=7078&view=diff
==============================================================================
--- trunk/updater-kde/updater/simpleview.cpp (original)
+++ trunk/updater-kde/updater/simpleview.cpp Mon Sep  3 12:46:57 2007
@@ -152,6 +152,10 @@
 
                QTimer::singleShot(0, this, SLOT(hide()));
        }
+
+       // perhaps someone has changed selection within detail view 
+       // => update button selection 
+       updateSelection();
 }
 
 void SimpleView::setDetailWindow(MainWindow * detailWindow)

Modified: trunk/updater-kde/updater/zypp/ZYppUpdater.cpp
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/updater-kde/updater/zypp/ZYppUpdater.cpp?rev=7078&r1=7077&r2=7078&view=diff
==============================================================================
--- trunk/updater-kde/updater/zypp/ZYppUpdater.cpp (original)
+++ trunk/updater-kde/updater/zypp/ZYppUpdater.cpp Mon Sep  3 12:46:57 2007
@@ -449,6 +449,12 @@
        kdDebug() << "_process"  << endl;
   _process = new KProcess;
 
+       
+       kdDebug() << "patches:" << installPatchList << endl;
+       kdDebug() << "packages:" << installPackageList << endl;
+
+
+
   QString command="/usr/sbin/zypper_install";
 
   *_process << command << "--patch" << installPatchList <<  "--package" << installPackageList;

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages