~ubuntu-branches/ubuntu/oneiric/muon/oneiric

« back to all changes in this revision

Viewing changes to libmuon/DetailsTabs/MainTab.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2011-02-17 13:14:28 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110217131428-23qtgy4967llczwh
Tags: 1.1.1-0ubuntu1
* New upstream bugfix release
* Update the Homepage field in debian/control to the new projects.kde.org
  home page.
* Update the upstream name field in debian/copyright to "Muon Package
  Management Suite" to reflect branding changes.
* Update the Source field in debian/copyright to the new KDE Git repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
                 QApt::Package::ToUpgrade | QApt::Package::ToDowngrade |
207
207
                 QApt::Package::ToRemove  | QApt::Package::ToPurge)) {
208
208
        m_installButton->hide();
 
209
        m_reinstallButton->hide();
209
210
        m_removeButton->hide();
210
211
        m_upgradeButton->hide();
211
 
        m_reinstallButton->hide();
212
 
        m_purgeButton->hide();
213
212
        m_cancelButton->show();
 
213
        if (state & QApt::Package::ToRemove) {
 
214
            m_purgeButton->show();
 
215
        }
214
216
    }
215
217
 
216
218
    m_packageShortDescLabel->setText(m_package->shortDescription());