[Bug 836967] [muon/1.2] libmuon/PackageModel: If a package is not installed, only enable the purge action when the uninstalled packages

Jonathan Thomas echidnaman at kubuntu.org
Tue Aug 30 00:04:14 UTC 2011


Git commit b93f4d9ef60573d51bc8fccb909dba46cb477052 by Jonathan Thomas.
Committed on 30/08/2011 at 02:02.
Pushed by jmthomas into branch '1.2'.

If a package is not installed, only enable the purge action when the uninstalled packages
also has residual configuration files.

CCMAIL:836967 at bugs.launchpad.net

M  +1    -0    libmuon/PackageModel/PackageWidget.cpp

http://commits.kde.org/muon/b93f4d9ef60573d51bc8fccb909dba46cb477052

diff --git a/libmuon/PackageModel/PackageWidget.cpp b/libmuon/PackageModel/PackageWidget.cpp
index 5ee6e9b..054f168 100644
--- a/libmuon/PackageModel/PackageWidget.cpp
+++ b/libmuon/PackageModel/PackageWidget.cpp
@@ -317,6 +317,7 @@ void PackageWidget::contextMenuRequested(const QPoint &pos)
             m_reinstallAction->setEnabled(false);
             m_keepAction->setEnabled(false);
         } else {
+            m_purgeAction->setEnabled(false);
             m_installAction->setEnabled(true);
             m_removeAction->setEnabled(false);
             m_upgradeAction->setEnabled(false);

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to muon in Ubuntu.
https://bugs.launchpad.net/bugs/836967

Title:
  Muon Package Manager offers to purge not installed software

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/muon/+bug/836967/+subscriptions




More information about the kubuntu-bugs mailing list