summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/oipkg') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelistview.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/packagelistview.cpp b/noncore/unsupported/oipkg/packagelistview.cpp
index 36d081b..26b1ce7 100644
--- a/noncore/unsupported/oipkg/packagelistview.cpp
+++ b/noncore/unsupported/oipkg/packagelistview.cpp
@@ -64,6 +64,13 @@ void PackageListView::showPopup()
connect( destsMenu, SIGNAL( activated( int ) ),
this, SLOT( changePackageDest( int ) ) );
}else{
+ popupAction = new QAction( QObject::tr("Remove"),QString::null, 0, this, 0 );
+ popupAction->addTo( popupMenu );
+ connect( popupAction, SIGNAL( activated() ),
+ this , SLOT( toggleProcess() ) );
+ popupAction = new QAction( QObject::tr("Reinstall"),QString::null, 0, this, 0 );
+ popupAction->addTo( popupMenu );
+ popupAction->setEnabled( false );
}
popupMenu->popup( QCursor::pos() );
}