Git commit 2f12e2b1c82dad29b4d26f5cb92c48aea774b861 by Jonathan Thomas. Committed on 26/02/2012 at 00:55. Pushed by jmthomas into branch 'master'.
Display the archive component of the selected package. FIXED-IN:1.4 CCMAIL:[email protected] M +9 -0 muon/DetailsTabs/TechnicalDetailsTab.cpp M +1 -0 muon/DetailsTabs/TechnicalDetailsTab.h http://commits.kde.org/muon/2f12e2b1c82dad29b4d26f5cb92c48aea774b861 diff --git a/muon/DetailsTabs/TechnicalDetailsTab.cpp b/muon/DetailsTabs/TechnicalDetailsTab.cpp index 32829b2..a580ba6 100644 --- a/muon/DetailsTabs/TechnicalDetailsTab.cpp +++ b/muon/DetailsTabs/TechnicalDetailsTab.cpp @@ -86,6 +86,14 @@ TechnicalDetailsTab::TechnicalDetailsTab(QWidget *parent) generalGrid->addWidget(originLabel, 3, 0, Qt::AlignRight); generalGrid->addWidget(m_origin, 3, 1, Qt::AlignLeft); + // generalGrid, row 4 + QLabel *componentLabel = new QLabel(generalWidget); + componentLabel->setText(i18nc("@label The package archive component that this package comes from", + "Component:")); + m_component = new QLabel(generalWidget); + generalGrid->addWidget(componentLabel, 4, 0, Qt::AlignRight); + generalGrid->addWidget(m_component, 4, 1, Qt::AlignLeft); + generalGrid->setColumnStretch(1, 1); KHBox *versionWidget = new KHBox(mainWidget); @@ -153,6 +161,7 @@ void TechnicalDetailsTab::refresh() m_section->setText(MuonStrings::global()->groupName(m_package->section())); m_sourcePackage->setText(m_package->sourcePackage()); m_origin->setText(m_backend->originLabel(m_package->origin())); + m_component->setText(m_package->component()); if (m_package->isInstalled()) { m_installedVersionBox->show(); diff --git a/muon/DetailsTabs/TechnicalDetailsTab.h b/muon/DetailsTabs/TechnicalDetailsTab.h index 34a94e5..bfe042b 100644 --- a/muon/DetailsTabs/TechnicalDetailsTab.h +++ b/muon/DetailsTabs/TechnicalDetailsTab.h @@ -37,6 +37,7 @@ private: QLabel *m_section; QLabel *m_sourcePackage; QLabel *m_origin; + QLabel *m_component; QGroupBox *m_installedVersionBox; QGroupBox *m_currentVersionBox; -- 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/883996 Title: muon doesn't show section of Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/muon/+bug/883996/+subscriptions -- kubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
